Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Global aliases, eval, and completion (Re: Expanding interactively aliases)
- X-seq: zsh-workers 13542
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Global aliases, eval, and completion (Re: Expanding interactively aliases)
- Date: Mon, 26 Feb 2001 23:03:40 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200102210819.JAA17470@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1010226072557.ZM4551@xxxxxxxxxxxxxxxxxxxxxxx>
- Sender: opk
Bart Schaefer wrote:
>
> } > Would it be easy to avoid this somehow?
>
> Having already implemented `autoload -U', we could now easily add a zsh
> option `noalias' akin to `noglob', and then add that to $_comp_options.
> Then completion functions that specifically wanted aliases could restore
> the `alias' option in the scope where they wanted it.
That seems like a good idea. The only other thing I can think of is
another precommand modifier - noalias, like noglob.
> I said exactly the same thing about "source -U" in the aforementioned
> year-ago thread.
I remember that actually. I'm undecided on it myself because source -U
would be useful. Incidentally, tcsh has a -h option to source (but no
options to eval). I suppose a noalias option would avoid the need for a
source -U.
Oliver Kiddle
Messages sorted by:
Reverse Date,
Date,
Thread,
Author