Open MrGreenTea opened 3 years ago
Is this work for you? https://github.com/chriswalz/bit/issues/3#issuecomment-707170078.
Is this work for you? #3 (comment).
Yes after set -Ux COMP_POINT 1
it seems to work perfectly.
"Me-tooing" this. Had the exact same error as in #3 setting COMP_POINT fixed it.
setting COMP_POINT
to 1 has other weird behaviour for me, where it only shows subcommands starting with b
and also showing subcommands that do not exist.
setting COMP_POINT
to 4
at least gets me all subcommands.
Not super familiar with all this but using set -lx COMP_POINT (commandline -C)
seemed to fix this issue for me. For reference, https://github.com/kubernetes-sigs/kustomize/issues/2561#issue-629197812
If I add the line @c0state suggested to the bit.fish
completion script I get the full list of available commands. And it works with partial completions as well, e.g. typing bit st
and then hitting tab.
But I miss the usual explanation of the commands:
vs:
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
fish
bit complete
~/.config/fish/completions/bit.fish
bit <TAB>
Ctrl+C
Expected behavior Get an overview/completion of all
bit
commandsDesktop (please complete the following information):
elementary OS 5.1.7 Hera
io.elementary.terminal
fish
bit
: v0.9.11git
: 2.17.1The installed completions file in
~/.config/fish/completions/bit.fish
looks like this: