Quote the suggestion to support sh_split_word option

This commit is contained in:
Eric Freese 2017-01-24 22:27:47 -07:00
parent e5a5b0c1e0
commit ab2742537f
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ zle -N autosuggest-clear _zsh_autosuggest_widget_clear
zle -N autosuggest-execute _zsh_autosuggest_widget_execute
_zsh_autosuggest_show_suggestion() {
local suggestion=$1
local suggestion="$1"
_zsh_autosuggest_highlight_reset

View File

@ -394,7 +394,7 @@ zle -N autosuggest-clear _zsh_autosuggest_widget_clear
zle -N autosuggest-execute _zsh_autosuggest_widget_execute
_zsh_autosuggest_show_suggestion() {
local suggestion=$1
local suggestion="$1"
_zsh_autosuggest_highlight_reset