Learning-Bitcoin-from-the-Command-Line icon indicating copy to clipboard operation
Learning-Bitcoin-from-the-Command-Line copied to clipboard

Check .bashrc for .bash_profile

Open ShivamPoW opened this issue 1 year ago • 0 comments

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.

ShivamPoW avatar Apr 01 '23 13:04 ShivamPoW