Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Expanding interactively aliases
- X-seq: zsh-workers 13533
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: Expanding interactively aliases
- Date: Mon, 26 Feb 2001 12:48:57 +0000
- In-reply-to: Your message of "Mon, 26 Feb 2001 13:32:05 +0100." <200102261232.NAA18757@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
> This is probably overkill...
It's ten years too late to worry about that. I don't see any problem.
Space for a couple of dozen lines of shell function no-one has to use isn't
going to worry anyone (so long as the defaults make it work naturally, of
course, which they do).
> It alwasy tries to expand global aliases everywhere, maybe that should
> be configurable, too.
I can see an argument for being able to choose via a style. Then using tag
aliases you can effectively make _expand_aliases into different
commands/completers for completing or expanding command or global aliases.
Now if you're *really* looking for overkill, there's the feature that
aliases whose text ends with a space cause expansion of subsequent words as
aliases...
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author