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

Context-sensitive completion args?



I'd like to be able to complete one argument, with access to the completed value of another argument.  Like so:

foocmd --arg1=a --arg2=

and in the completion code for arg2, have access to the value of arg1 (a).  Is this possible?

Thanks,
Andrew



Messages sorted by: Reverse Date, Date, Thread, Author