Re: [PATCH] is-alias pattern
On 2006-08-05 04:09:02 -0700, Sean Hamilton wrote:
> I also considered allowing ~a to take an argument, which
> identifies a group of aliases (such as "theguys" in the
> manual) against which to match. I have not actually
> implemented this, as it may be superfluous with pattern
> groups, albeit simpler. It is unfortunate that ~f does not
> work for this purpose.
Well, you'd simply do this:
alias -group alias -group theguys theguys The Guys: \
foo, bar;
> Another option yet might be to implement a magical pattern
> group which matches all aliases.
That would be a better course of action than using up another
search pattern for functionality that basically exist. Of
course, you could also just append a -group alias to each alias
statement...
I'm sorry, but this patch is not going to make it into CVS.
Regards,
--
Thomas Roessler · Personal soap box at <http://log.does-not-exist.org/>.