The .bashrc isn't sourced when I log in using SSH

From LWP-Wiki
Jump to: navigation, search

No, but ~/.bash_profile is, so you can make that read:

if [ -f ~/.bashrc ]; then
   . ~/.bashrc
fi