Create Permanent Alias on Mac
Here’s a quick how-to on creating permanent aliases, in OS X. I wanted/needed it for the Zend Framework to create the shortcut zf.
open ~/.bash_profile. I usually use pico editor, so the command would be
Type in the name of the alias and path to the thing you want to create an alias for. In my case:
^X to quit, save the buffer and restart the terminal.
To see if the zf alias worked you can type in
It should display the Zend Framework version number.