mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2026-01-24 19:26:29 +01:00
Revert async process substitution & completion strategy
They're not quite ready. Keep them on a feature branch for now.
This commit is contained in:
@@ -14,8 +14,11 @@ _zsh_autosuggest_start() {
|
||||
# zsh-syntax-highlighting widgets. This also allows modifications
|
||||
# to the widget list variables to take effect on the next precmd.
|
||||
add-zsh-hook precmd _zsh_autosuggest_bind_widgets
|
||||
|
||||
if [[ -n "${ZSH_AUTOSUGGEST_USE_ASYNC+x}" ]]; then
|
||||
_zsh_autosuggest_async_start
|
||||
fi
|
||||
}
|
||||
|
||||
# Start the autosuggestion widgets on the next precmd
|
||||
autoload -Uz add-zsh-hook
|
||||
add-zsh-hook precmd _zsh_autosuggest_start
|
||||
|
||||
Reference in New Issue
Block a user