Closed marlonrichert closed 1 year ago
I was just debugging this myself and found this issue. Commenting this line fixed it for me: https://github.com/grml/grml-etc-core/blob/a2cda85d3d56fd5f5a7b954a444fd151318c4680/etc/zsh/zshrc#L796
# if there are more than 5 options allow selecting from a menu
zstyle ':completion:*' menu select=5
@unawarez Is this still an issue with the latest version of the main
branch?
@unawarez Is this still an issue with the latest version of the
main
branch?
Still an issue for me with the defaults. @unawarez's suggestion didn't work for me. Only thing that gets Tab or ↓ to work is changing this complete-word
to menu-select
here:
https://github.com/marlonrichert/zsh-autocomplete/blob/5cc9da132e7535a540fb1235ce27fd5a233d4f0e/.zshrc#L61
@chrisr87 Can you update and try again if this is still an issue?
@chrisr87 Can you update and try again if this is still an issue?
Works now after updating. Thanks!
Actually, now I can't leave history mode. Once I trigger history one time with ↑, even after exiting the history menu, ↓ triggers history again instead of autocomplete. tab is able to reset it, which inserts the first option and seems to get me out of history mode.
Also randomly spamming this error, haven't tried to debug yet,
.autocomplete.up-line-or-search.zle-widget:6: scalar parameter _p9k__i set in enclosing scope in function .autocomplete.up-line-or-search.zle-widget`
Possibly conflicting with Powerlevel10k
@unawarez @chrisr87 I tested it with the current main
branch and it works without problems if you source Autcomplete in .zshrc.pre
or .zshrc.local
. The end result is slightly different, but both work.
Actually, now I can't leave history mode. Once I trigger history one time with ↑, even after exiting the history menu, ↓ triggers history again instead of autocomplete. tab is able to reset it, which inserts the first option and seems to get me out of history mode.
That's an unrelated bug, but has been fixed, too: 584bcbac7aca914e32cd67bf20ba0f3f38f44d17
@unawarez @chrisr87 PS: If you enjoy using my software, please consider sponsoring me. 🙂
Discussed in https://github.com/marlonrichert/zsh-autocomplete/discussions/504
The full Grml Zsh config can be found at https://git.grml.org/?p=grml-etc-core.git;a=blob_plain;f=etc/zsh/zshrc;hb=HEAD