Forum Moderators: bakedjake
i am unable to get any user other than root to use a .bashrc file.
i have saved a simple .bashrc in the user home directory, given it the correct owner permissions, but i still get the same boring prompt.
root on the other hand, using the same file in his directory has lots of pretty colours and useful info at the prompt.
why might a normal user not be able to use a .bashrc file?
thanks
i tried source ~/.bashrc from the command line and it worked - but i can't get it loading automatically at login...
matty, the user is the one i login from. you put me in the right direction; i found info online saying that if it is a shell from a user which hasn't logged in, then .bashrc is used, otherwise .bash_profile is used.
i edited .bash_profile and uncommented the lines:
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
but it still doesn't automatically source .bashrc when i login? i am not sure why
cheers