Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Command alias in non-command position



I have some often used aliases, e.g. 

vi=elvis
view='elvis -R'
etc

Unfortunately, if I try to do e.g.

sudo vi ...

The /usr/bin/vi is started instead of elvis.

Is there any easy way to use my lovely aliases in this case?

thank you

/Andrej



Messages sorted by: Reverse Date, Date, Thread, Author