robbyrussell/oh-my-zsh — pull request #1606 by SuprDewd (2013-02-13 21:21:03+00:00)
Title: sudo as an alias for sudo

Say we have an alias ll='ls -l', for example. If we execute "sudo ll", we receive the following error:

sudo: ll: command not found

We most likely wanted the alias to be expanded before being passed to the sudo command, and that is exactly what this commit is about. The fix is simple, but having the alias sudo="sudo " is enough.

For more info:
http://www.shellperson.net/using-sudo-with-an-alias/