Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
exposing completions data to user
- X-seq: zsh-workers 39671
- From: "Ben Veal" <benveal92@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: exposing completions data to user
- Date: Tue, 18 Oct 2016 01:06:02 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version; bh=nDVpRkJIhtnc54hXrrtDurw1Rsjs+lleKLGy5DGnVXw=; b=eJEILMN82KikROsYCZjUAqBaqDezG1/YjwFk/SytY5KZPOT/cLvoKEPhan3ZXvu34/ 67P/+yV44N6QlVJqJuYEtsd7EJnf6JPm00ud76iajNF1kFyo7PdVXlOVUZsKySuqAne9 ELR8cG5X/EeAknUOA6iFIlcNZOcpbuWL7I10vGPuu4EBTiHZEPle7g7nDSnlArNCgYbm ZVDaHcCzHUxkghmpOq9tA7pn1RTTW7pH2buIOMLzbNXzkH3cNWTh/28Nfk6iO6SihQku sDnD4sRHDpAz2E6HE6nLxcqJP8phCV+rkB1mGHJWjX6u6cS162F84WKVKNGWKa3Xt4Pd T3ZA==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi,
I want to write a zaw plugin
(https://github.com/zsh-users/zaw) for
performing completions, matching on both
completions and descriptions.
To do this I need access to the list of possible
completions and their descriptions.
As far as I can determine, this information is not
normally available, and so I need to write a module
which exposes this data.
I had a look at the complist module code, and it
seems that information is passed into domenuselect
in a pointer to a chdata structure. However, when I
tried stepping through the code with gdb, I
couldn't find the completions data.
Can anyone help?
Ben
--
Messages sorted by:
Reverse Date,
Date,
Thread,
Author