Fix error that was hidden in zpty

Without the quotes, this was blowing up with:
  _zsh_autosuggest_capture_postcompletion:unset:5: not enough arguments
This commit is contained in:
Eric Freese 2019-04-17 23:25:43 -06:00
parent 2b05f5ed2d
commit 7e048c3f53
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ _zsh_autosuggest_capture_postcompletion() {
compstate[insert]=1
# Don't list completions
unset compstate[list]
unset 'compstate[list]'
}
_zsh_autosuggest_capture_completion_widget() {

View file

@ -492,7 +492,7 @@ _zsh_autosuggest_capture_postcompletion() {
compstate[insert]=1
# Don't list completions
unset compstate[list]
unset 'compstate[list]'
}
_zsh_autosuggest_capture_completion_widget() {