-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
can someone advice why bash completion does not work? #491
Comments
Second, Bash completion doesn't work with Watson 2.1.0 for me. I have it in I confirmed just now that the completion file hasn't changed in a few years, so I'm wondering if this is due to the recent |
what is "click version bump?" |
This is what I mean: b2068f6.
|
I confirm this. Autocompletion doesn't work. |
Tab completion is broken for me, too, though I'm fairly sure it was working until recently (and definitely after May 2022). |
Same behavior in my environment. Would be great if I can use the autocomplete again in the future. |
Confirmed that downgrading to
|
Executed these two commands on my ubuntu to achieve downgrade of |
Bash completion works using this previous version of the 'watson.completion' file. Just put this file to /etc/bash_completion and it will work again with the latest (2.1.0) release. |
In instalation text:
If you use a Bash-compatible shell, you can install the watson.completion file from the source distribution as /etc/bash.completion.d/watson - or wherever your distribution keeps the Bash completion configuration files. After you restart your shell, you can then just type watson on your command line and then hit TAB to see all available commands.
First
pip install --user td-watson
then ... file from source distribution? Where, what?Ok, so I went with development version, installed it, copied bash completion as instructed, I trying to debug why it's not working I just added logging:
and
restarted bash, and I see, that 'registered' appears in file as expected, but COMPREPLY is always logged as empty string. I'm no bash expert, but I cannot see in completion script neither any list of supported actions nor call to watson to get one.
what am I doing wrong?
The text was updated successfully, but these errors were encountered: