Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Context-sensitive completion args?
- X-seq: zsh-users 9418
- From: "Lusk, Andrew" <andrewlu@xxxxxxxxxx>
- To: <zsh-users@xxxxxxxxxx>
- Subject: Context-sensitive completion args?
- Date: Wed, 14 Sep 2005 18:59:38 -0700
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Thread-index: AcW5mSEUie2LV5/5SmenOyUMBDVgPQ==
- Thread-topic: 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