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
zsh completion hints #1156
Comments
There are plenty of beautiful stuff happening in https://github.com/f/omelette/blob/master/coffee/omelette.coffee too. |
The last element being
|
For anybody interested: Until there's official support for zsh completion, I made this little tool (with the aforementioned omelette). |
I worked around this by enabling zsh's bash completion script compatibility mode: https://stackoverflow.com/a/8492043/5932012 |
Hello! I'd like to contribute back to yargs and have already written a zsh handler, before I started I wanted to make sure no one had already began work or if there were any requests around it. |
@trevorlinton - would love to see what you came up with. |
@loilo Hey, |
@john-osullivan Thanks! But to be honest, the point of The easy installation step however is a thing I consider very important — maybe I should provide an installation script for yargs-based CLIs as an extra package. 🙂 |
Hello,
I was inspecting zsh completion and discovered it was not working.
Too bad!
By screening into https://github.com/mklabs/tabtab/blob/master/scripts/zsh.sh, I found out there was not much to change to port the existing template.
From this bash handlebar template
To this zsh completion template
I have no idea what's going on but it works — although it seems to recommend everything and not much what's only matching the typed words.
It's a start.
The text was updated successfully, but these errors were encountered: