Autocompletion menu not appearing in zsh
Closed this issue · 20 comments
I've installed "the hard way", can confirm bit works, but the autocomplettion menu will just not appear.
Arch linux
❯ zsh --version
zsh 5.8 (x86_64-pc-linux-gnu)
Same issue in Linux Mint with terminator 1.91
To clarify, if you type bit
and then press do suggestions show? Or are you referring to classical command tab completion?
@chriswalz sorry for the noise, it actually works fine for me now.
@pietrovismara what did you change/fix to make it work?
@chriswalz Not much, just rebooted my pc for unrelated reasons and bit was working fine after that.
I have the same issue on zsh and bash.
@sbmueller just pushed a couple of updates.
Run bit --version
(most recent version is v0.6.0)
Can you run naked bit
and show me the output
Also can you type bit st
then press <tab>
and show me the output
@chriswalz btw. bit --version
will only work in a folder that contains a git repository
UPDATE:
filed an issue #51
I tried updating (the hardway), ended up with bit --version
-> v.0.6.1.
downloaded from github releases
❯ wget https://github.com/chriswalz/bit/releases/download/v0.6.2/bit_0.6.2_Linux_x86_64.tar.gz
❯ tar -zxvf bit_0.6.2_Linux_x86_64.tar.gz
❯ ./bit --version
bit version v0.6.1
git version 2.26.2
despite the wrong Version flag it works for me with the new release, closing the issue, feel free to add comments for anyone that is still experiencing it, I will re-open then
@chriswalz I was just trying on my home machine and realized I used bit
wrong. I assumed the autocompletion menu appears already when typing bit
but I gotta run bit
first to get the autocompletion.
I will test again next week on my work machine.
I have the same issue as @chris-aeviator with running bit
outside a repository.
As expected, my issue is resolved and originated from wrong usage.
@chriswalz kudos to the great support and high activity in this project!
@sbmueller what was wrong about the your usage. I can clarify that in the readme in case others have the same problem
@chriswalz I assumed typing bit
would lead the autocompletion menu to pop up, however I need to execute the bit
command (basically press enter additionally) to start the program and get the autocompletion menu.
I already saw there is already a note on that in the installation instructions, so no indication for you to change anything now IMO.
I assumed the same - can confirm I see autocomplete menu also when going the bit <Enter>
route.
Is there any way of making this work on bit <Tab>
? It's a bit of a pain to run a command twice I'll use 40 times a day.
@chris-aeviator I'm not sure what you mean by having to run the a command twice as much. Using <Enter>
instead of <Tab>
doesn't result in more button presses.
Also note you can always run commands normally with classical tab completion i.e. bit checkout <branch-name>
In terms of replacing <Enter>
with <TAB>
. Not sure if that's possible as of yet
I am actually facing the same issue. Not sure what worked for others.
Just installed it and ran bit completion && bit
and post that I don't see any tab completions appearing