Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
using command aliases with sudo
- X-seq: zsh-users 6138
- From: Eric Mangold <teratorn@xxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: using command aliases with sudo
- Date: Wed, 28 May 2003 02:04:44 -0500
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi,
I'm thinking of writing an extension to zsh that makes aliases work with sudo.
For example, I have an alias agi="apt-get install", since this needs root I
often find myself typing "sudo agi foo", which of course doesn't work.
If someone has already done this or has suggestions for an implementation,
please reply :)
-Eric
Messages sorted by:
Reverse Date,
Date,
Thread,
Author