Cannot tab through multiple choices #90
There's a rewrite underway in PR #91. It's available on branch v0.1.x. Please try using that branch, and let me know if it solves your problem.
Not sure, it says: No such widget 'autosuggest-start'. Changed to autosuggest_start but says now: zle-line-init:2: command not found: autosuggest_start
@wernight Are you still having this problem? Are you sure you're sourcing the script correctly. Can you post your .zshrc?
Still having the error, here the minimal ~/.zshrc to reproduce with my config following PR #91 (I tried some other variations as well):
ZSH=$HOME/.oh-my-zsh
plugins=(zsh-syntax-highlighting zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh
autosuggest_start
Gives command not found: autosuggest_start. I did a git pull on v0.1.x just before.
By sourcing both files it works but the issue isn't completely gone.
What works:
$ ls xx<tab>
$ ls xx1
What doesn't work:
$ ls <tab>
$ ls subfolder<CursorHere>~/Desktop
Also bugged same way:
$ ls <Up/Down>
$ ls temp1/a1/b1<CursorHere>~/Desktop
See also #80
plugins=(zsh-syntax-highlighting zsh-autosuggestions)
This isn't an oh-my-zsh plugin. Please read the installation instructions in the readme.
I did. The plugin exists (in a commit "Add symlink for OMZ compatibility") and it's in the install instructions of zsh-syntax-highlighting
@wernight Oh My Zsh support is now in on the v0.2.x branch. Take a look at the README and let me know if you have any problems.
Setup
Installed as described as OMZ plugin (so it looks like
plugins=(... zsh-syntax-highlighting zsh-autosuggestions)).COMPLETION_WAITING_DOTSis unset.Bug
Doing
ls <tab>shows a list of possible arguments (and the gray autosuggestion). Pressing again chooses the first one, pressing it again should select the second possible choice but instead completes starting from generated string:If I disable the OMZ plugins
virtualenvwrapperandmvn(2 out of 12 plugins), then simply erases what comes after the cursor.