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

Re: How to prevent alias expansion



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