vim ~/.bashrc
example:
alias codedir='cd /opt/local/www/project'