Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completion and aliases - how to alter command line?
- X-seq: zsh-users 14234
- From: "Alexey I. Froloff" <raorn@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Completion and aliases - how to alter command line?
- Date: Sun, 12 Jul 2009 04:02:51 +0400
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I have function _foo that completes arguments for command foo. I
have alias bar='foo --baz=quux'. How do I enable completion of
command bar like foo and have --bar option available to _foo?
Doing
$ compdef _foo bar
will not do what I want.
--
Regards,
Sir Raorn.
Attachment:
signature.asc
Description: Digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author