Closed NiklasReisser closed 1 year ago
DVC has issues with that too: https://discord.com/channels/485586884165107732/485596304961962003/1034753563966050395
I have the Issue with DVC tab completion.
Current workaround as suggested in Discord is:
pip install shtab==1.5.4
)dvc completion -s bash | sudo tee /etc/bash_completion.d/dvc
Related: #106
@casperdcl thanks! :)
@alkatar21 could you give the new version a try?
Yes, the subcommands autocomplete correct again, thanks👍
Hi,
since #81 , shtab always only completes the first subparser command. The minimal example below immediately completes "bla".
The Reason seems to be that https://github.com/iterative/shtab/blob/60a8525707f10859513c4362ea9c62cd40db93b8/shtab/__init__.py#L357 only expands the first value of the _choices array. Unfortunately, I have not found a solution without breaking #81 again. Happy to try any idea though.
Cheers Niklas