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

Re: Expanding interactively aliases



> 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