-
Notifications
You must be signed in to change notification settings - Fork 873
bug: [0.16.0] Completion bash using old hyphenated commands #1867
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
Comments
This also impacts zsh |
Also, a related issue is #1748 |
Also impacts Fish.
|
I won't be able to get to this this week. Contributions are welcome here. |
Another issue is autocomplete for plugins doesn't work, e.g. |
Hi, this still happens with |
Describe the Bug
The completion bash is using the old hyphenated commands which produces wrong completions.
Steps to Reproduce
I'm using this to set up shell completions.
The wrong commands in the completion script produce the wrong completions like in this line of the completion script:
plugins=$(asdf plugin-list 2>/dev/null | tr '\n' ' ')
The
asdf plugin-list
outputs the help instead of the list of plugins, so it lists the words from the help text instead of the plugins.The other commands also need to be fixed.
Expected Behaviour
Correct completions.
Actual Behaviour
Wrong completions.
Environment
asdf plugins affected (if relevant)
No response
The text was updated successfully, but these errors were encountered: