do not show suggestion on completion

This commit is contained in:
Stanislav Seletskiy 2016-04-21 03:08:59 +06:00
parent 87facd9b85
commit d9ff23463b
2 changed files with 4 additions and 0 deletions

View file

@ -13,6 +13,8 @@ _zsh_autosuggest_clear() {
# Modify the buffer and get a new suggestion # Modify the buffer and get a new suggestion
_zsh_autosuggest_modify() { _zsh_autosuggest_modify() {
POSTDISPLAY=""
# Original widget modifies the buffer # Original widget modifies the buffer
_zsh_autosuggest_invoke_original_widget $@ _zsh_autosuggest_invoke_original_widget $@

View file

@ -230,6 +230,8 @@ _zsh_autosuggest_clear() {
# Modify the buffer and get a new suggestion # Modify the buffer and get a new suggestion
_zsh_autosuggest_modify() { _zsh_autosuggest_modify() {
POSTDISPLAY=""
# Original widget modifies the buffer # Original widget modifies the buffer
_zsh_autosuggest_invoke_original_widget $@ _zsh_autosuggest_invoke_original_widget $@