BlockchainCommons / Learning-Bitcoin-from-the-Command-Line

A complete course for learning Bitcoin programming and usage from the command
3.15k stars 761 forks source link

Check .bashrc for .bash_profile #600

Open ShivamPoW opened 1 year ago

ShivamPoW commented 1 year ago

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.