Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to prevent alias expansion
- X-seq: zsh-workers 26246
- From: JÃrg Sommer <joerg@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: How to prevent alias expansion
- Date: Sun, 4 Jan 2009 21:51:44 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=gnuu.de; s=banki; t=1231106001; i=@xxxxxxxxxxxx; bh=fWSTrSrWcqYrA1PJ9GUUMeV479kx1fsp9 9M+ULcmcGk=; h=To:From:Subject:Date:Message-ID:References: Mime-Version:Content-Type:Content-Transfer-Encoding:Sender; b=UTbk 66Ey3YMvd0wiXDrgEbpjre/braOJfVEVbt2l3ohm7SIuYsWhmVV5GpxdWDcPuEnmAl2 6Ycb+s9i+uplD2lwc0it+ZS6ot3j8rZj9O2zug07UJzIjxUavGtBeDT4k6pi1WLfoua 81NxSUj16338hQfgd9ycc2wEJ9BLZVNx0=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <slrngm1n3d.sgm.joerg@xxxxxxxxxxxx> <090104103336.ZM21863@xxxxxxxxxxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxx>
Hi Bart,
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> I can't decide what's correct here. Are there are cases where someone
> would want such an alias to expand?
I would say no. I can't imagine which cases this should be. But this
doesn't mean they don't exist. :)
> run-help itself already looks up aliases on the command word by way of
> "which". Consequently a more obvious patch (to a reader of the script)
> might be:
>
> emulate -R zsh
> - setopt localoptions
> + setopt localoptions noaliases
Okay, let's do it.
Bye, JÃrg.
--
Ich halte ihn zwar fÃr einen Schurken und das was er sagt fÃr
falsch â aber ich bin bereit mein Leben dafÃr einzusetzen, daÃ
er seine Meinung sagen kann. (Voletair)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author