-
Notifications
You must be signed in to change notification settings - Fork 476
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
Shell completion add nushell support #974
Comments
You are most welcome! Shell completions are currently mostly generated by |
clap-rs/clap#2778 (comment) Will this help? Thanks |
Yup, if clap automatically generated nushell completions, that would definitely help. |
I mean the last comment they replied: "If nushell works like bash where you have to write your own parser, #3166 could be a big help towards this." It doesn't look like they are going to provide “automatically generated nushell completions” support in clap |
I think that might make it easier on the clap side to implement nushell completion support, but we would still have to wait for it to be implemented there before Just could take advantage of it. |
It looks like Clap has adopted this: https://github.com/clap-rs/clap/tree/master/clap_complete_nushell Then I imagine this depends on clap v4: #1084 |
In the meanwhile you can put the following somewhere in your nushell config
This was stolen from nushell-scripts (now in the link there is a more elaborated version, but I didn't test that yet) |
Clap v4 support was finally merged, so this will make it into the next release! |
Hi, Thanks for the great work, and
just
currently has no completion support for the modern, powerful and elegant NuShell, is there any plan for this? ThxThe text was updated successfully, but these errors were encountered: