[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

No sourcing of ~/.profile at login



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?

Hope you can help.

Best regards,
David List



Reply to: