From: Stephen Rueger <stephen.rueger@rechnerpost.org>
To: zsh-users@sunsite.dk
Subject: Re: using command aliases with sudo
Date: Mon, 2 Jun 2003 08:23:37 +0200 [thread overview]
Message-ID: <20030602062337.GA18774@rechnerpost.org> (raw)
In-Reply-To: <200305280204.44215.teratorn@world-net.net>
[-- Attachment #1: Type: text/plain, Size: 470 bytes --]
On Wed, May 28, 2003 at 02:04:44AM -0500, Eric Mangold wrote:
> 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 :)
You can use a global alias (alias -g)
--
Stephen Rüger
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-06-02 6:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-28 7:04 Eric Mangold
2003-06-02 5:54 ` Borzenkov Andrey
2003-06-02 6:24 ` Danek Duvall
2003-06-02 6:35 ` Borzenkov Andrey
2003-06-02 6:23 ` Stephen Rueger [this message]
2003-06-02 6:36 ` Wayne Davison
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030602062337.GA18774@rechnerpost.org \
--to=stephen.rueger@rechnerpost.org \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).