-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zaw as completion widget? #64
Comments
zaw is based on zle, which is distinct feature from completion-widget. In my understanding, what we can do is to write a source which can be used both zaw and completion-widget, but it will be out of the scope of zaw. |
It should be possible to write a zsh module (in c) which exports the completions in a parameter which could then be accessed by a zaw plugin. I made a start on this some time ago, but got caught up with other things and didn't complete it. If anyone wants to give it a shot here is the repo: https://github.com/vapniks/zsh-export-completions |
It looks interesting!
I've never try it, and your understanding will be better than mine. I keep opening this issue to track related works. |
Would be great to be able to use zaw as a completion widget for commands with loads of options like gpg for example. I did a bit of research on this some time ago but couldn't figure out how to do it.
If anyone has any ideas about the best way to accomplish this, let us know in the comments below.
The text was updated successfully, but these errors were encountered: