On Tuesday September 16 at 01:51pm David List <david@davidlist.dk> wrote: > It seems to me that ~/.profile is not being sourced at login, but > ~/.bashrc is, on my newly installed Debian Woody. > > I'm used to having this in ~/.profile: > > ------------------------------------------------ > if test -f /etc/profile; then > . /etc/profile > fi > if test -f ~/.bashrc; then > . ~/.bashrc > fi > ------------------------------------------------ > > ...since I'm used to ~/.profile being guaranteed as being sourced at > user login, and then having contents in ~/.profile that make sure that > ~/.bashrc is being sourced also. > > It seems things are the other way around on Debian...or am I just > confused? > If I'm right, how do I control what *does* happen at user login? I do not have a ~/.profile, but rather a ~/.bash_profile. Perhaps that is what you're looking for? -- -johann koenig Now Playing: Ramones - My Brain Is Hanging Upside Down (Bonzo Goes To Bitburg) : Anthology (Disc 2) Today is Pungenday, the 39th day of Bureaucracy in the YOLD 3169 My public pgp key: http://mental-graffiti.com/pgp/johannkoenig.pgp
Attachment:
pgpQPhDaPH2GY.pgp
Description: PGP signature