Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
precommand modifiers and alias sudo="sudo "
- X-seq: zsh-users 13567
- From: Sebastian Stark <seb-zsh@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: precommand modifiers and alias sudo="sudo "
- Date: Wed, 10 Dec 2008 13:08:15 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I have set up an alias sudo="sudo " that enables use of aliases with
sudo.
But now precommand modifiers like "nocorrect" or "env"* stopped working.
p% alias mkdir
mkdir='nocorrect mkdir'
% sudo mkdir foo
sudo: nocorrect: command not found
%
Anything I can do? Or should I forget about the idea of using aliases
with sudo?
Sebastian
*I know that env is not a zsh precommand modifier, but the problem is
the same.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author