How to make an alias permanent? I create an alias behavior

alias chrome="open -a 'Google Chrome'"
chrome foo.html


Nevertheless, It refuses to work when I restart the terminal.

$ chrome foo.html
-bash: chrome: command not found


As a solution, I place the command to ~/.bash_profile

# Add to ~/.bash_profile
# shortcut for chrome
alias chrome="open -a 'Google Chrome'"


Again, it report similar error

$ chrome foo.html
-bash: chrome: command not found


How to solve such a problem?
You need to relogin( to apply changes from .bashrc)
or do

source ~/.bashrc


which do the same work for your needs