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

Re: Command alias in non-command position



Bruce Stephens wrote:
>            Could I define sudo somehow, to say that its first
>argument ought to be expanded as if it were in the command position?

alias sudo='sudo '

permits alias expansion of the word following an alias-expanded sudo.

-zefram



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