Adding an alias for Sublime Text to zshrc

Here is an example how to add subl command for ZSH

http://opensourcehacker.com/2012/05/11/sublime-text-2-tips-for-python-and-web-developers/#Open_files_from_comma

Here is another example how to make UNIX EDITOR env var to use Sublime and behave well e.g. when editing subversion and git commit messages

https://github.com/miohtama/ztanesh/blob/master/zsh-scripts/rc/39-osx-vars#L11

https://github.com/miohtama/ztanesh/blob/master/zsh-scripts/bin/subl-wrapper


Aliases in zsh are created in the same manner as in bash.

alias somealias='something longer'

Now somealias will expand to 'something longer' (without the quotes). Put it into ~/.zshrc to make it persistent.