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

exposing completions data to user



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