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

Completion and aliases - how to alter command line?



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