I checked .bashrc and it loads .bash_aliases instead of .bash_profile. So, for me logging out and in didn't work.
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
So had to source in each session. Hence, added small script at the end of .bashrc. I think just renaming everywhere works but probably not for everyone.
I checked
.bashrc
and it loads.bash_aliases
instead of.bash_profile
. So, for me logging out and in didn't work.So had to
source
in each session. Hence, added small script at the end of.bashrc
. I think just renaming everywhere works but probably not for everyone.