Make Permanent Aliases on MAC OS X

command line:

open ~/.bash_profile

add as follows

alias name=path

example:

alias zf=/usr/local/ZendFrameworkCli/bin/zf.sh

if you need to pass a parameter where you need to escape characters or spaces wrap the path in quotes as follows:

alias projects=”cd /Applications/xampp/xamppfiles/htdocs”