Add ZSH_AUTOSUGGEST_IGNORE_WIDGETS array

This commit is contained in:
Eric Freese
2016-07-31 19:35:30 -06:00
parent 472394681e
commit 25f4afb058
4 changed files with 45 additions and 4 deletions

View File

@@ -48,5 +48,15 @@ ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS=(
vi-forward-blank-word-end
)
# Widgets that should be ignored (globbing supported but must be escaped)
ZSH_AUTOSUGGEST_IGNORE_WIDGETS=(
orig-\*
beep
run-help
set-local-history
which-command
yank
)
# Max size of buffer to trigger autosuggestion. Leave undefined for no upper bound.
ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=