You are not logged in.

#1 2008-11-10 07:35:54

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

.bashrc not sourced

I don't use a login manager and I have noticed that when I first log in my .bashrc doesn't get sourced.
When I start X and open a terminal it works as it should.
This is a .bashrc that I had copied over from an old installation if that makes a difference.


neutral

Offline

#2 2008-11-10 09:02:49

string
Member
Registered: 2008-11-03
Posts: 286

Re: .bashrc not sourced

.bash_profile is what will be sourced when you log in through a vc.

Offline

#3 2008-11-10 09:20:26

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: .bashrc not sourced

Add this to bash_profile

[ -f "~/.bashrc" ] && . ~/.bashrc

Offline

Board footer

Powered by FluxBB