This question already has an answer here:
- Why doesn't .bashrc run automatically? 13 answers
I added this line into my
alias myserver='ssh firstname.lastname@example.org'
However, when I open terminal and run
myserver, terminal complains that
-bash: myserver: command not found
When I source my .bashrc file, however, (
. .bashrc), the alias works.
Nonetheless, I do not want to source the file every time I open terminal for the alias to work. How do I make that happen?