Auto complete on the first tab if even it's ambiguous #796
-
Environment% typeset -p1 VENDOR OSTYPE ZSH_PATCHLEVEL _autocomplete__funcfiletrace
typeset VENDOR=apple
export OSTYPE=darwin24.0
typeset ZSH_PATCHLEVEL=zsh-5.9-0-g73d3173
typeset -a _autocomplete__funcfiletrace=(
/opt/homebrew/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh:4
/Users/myuser/.zshrc:57
zsh:0
)
% git -C ~autocomplete log --oneline -n1
824efa8836 (HEAD -> stable, tag: 4.4.4) Merge pull request #18704 from Homebrew/ubuntu-run
Steps to reproduce% cd $(mktemp -d)
% mkdir something1
% mkdir something2
# When type "cd" and hit "tab", it will auto-complete entire in the first time even it's ambiguous.
% cd something1/ I'm wondering if I can disable that feature or not. It's really annoying to me. I tested it and show the same behavior on Linux. Sometime, it makes faults when I type the path very fast. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
There's a setting for this and it's documented in the Readme. |
Beta Was this translation helpful? Give feedback.
-
I'm still expiring this on macOS 15.5 (24F74) after following https://github.com/marlonrichert/zsh-autocomplete/blob/main/README.md#first-insert-the-common-substring Complete
Steps to reproduce:
On the other hand, path completion works fine. Pressing tab the first time after typing |
Beta Was this translation helpful? Give feedback.
It looks my desire could be satisfied by this configuration. Thanks!