Re: bash, but no .bashrc??
> If I explicitely invoke bash (typing 'bash' at the shell), .bashrc is
> executed properly, but if I simply log in (locally or remotely), it
> doesn't happen. Can anyone explain what is going on here?
When bash is invoked as login-shell, it executes the commandos
in.bash_profile, if that exists (if not it searches for .bash_login and
finally for .profile). .bashrc is not being looked at.
To enable processing of your .bashrc, simply comment out the following
lines in your .bash_profile:
## include .bashrc if it exists:
#if [ -f ~/.bashrc ]; then
# source ~/.bashrc
#fi
greetings,
Johannes Zarl
--
"More than machinery we need humanity" -- Charlie Chaplin, The Great
Dictator
Reply to: