-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken by zsh-autocomplete on Zsh 5.9 #751
Comments
Upgraded my second mac, which had been running 5.8, and it had been working, to 5.9, and can confirm Zsh version is integral in this not working |
Looks like it's broken on my Mageia 8 too. It's enabled on Oh-my-zsh, but when I type something, nothing happens. It's completely inactive. |
As a workaround add edit: Unfortunately I don't know much about zsh and the build process to contribute a merge request but if someone knows more, here's what I inserted before here: zsh-autosuggestions/src/start.zsh Line 21 in c3d4e57
# Initialize completion for the current session
if (( ${+ZSH_AUTOSUGGEST_STRATEGY[(ie)completion]} )); then
autoload -Uz compinit && compinit
fi |
I originally had posted this as an issue on marlonrichert/zsh-autocomplete but it was pointed out that this would be better classified as an issue in zsh-autosuggestions.
If you have zsh-autosuggestions and set
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
, autosuggest will first try to find a suggestion from your history, but, if it can't find a match, will find a suggestion from the completion engine.With zsh-autocomplete installed, autosuggest will still show history suggestions, but ignore completion suggestions.
Expected behavior is that zsh-autosuggestions would continue to respect configuration set by
ZSH_AUTOSUGGEST_STRATEGY
.System:
Working for history:
Not working for completion which is not in history:
I have another laptop with the same specs and same exact Zsh configurations running 5.8 where both plugins work in tandem, which makes me think this is related to changes to completions engine between Zsh versions.
The text was updated successfully, but these errors were encountered: