~/.bashrc is indeed used for aliases. I always forget that one.
Since I prefere the "alias" file to be clean and only contain aliases I altered
~/.bashrc so it looks like this:
Code: Select all
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
#Making ~/.alias the home of our private aliases
if [ -f .alias ]; then
. .alias
fi
But that is only a matter of taste,
(Naturally I edited /etc/bashrc back to it's original state too)