mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
do not show suggestion on completion
This commit is contained in:
parent
87facd9b85
commit
d9ff23463b
2 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,8 @@ _zsh_autosuggest_clear() {
|
|||
|
||||
# Modify the buffer and get a new suggestion
|
||||
_zsh_autosuggest_modify() {
|
||||
POSTDISPLAY=""
|
||||
|
||||
# Original widget modifies the buffer
|
||||
_zsh_autosuggest_invoke_original_widget $@
|
||||
|
||||
|
|
|
@ -230,6 +230,8 @@ _zsh_autosuggest_clear() {
|
|||
|
||||
# Modify the buffer and get a new suggestion
|
||||
_zsh_autosuggest_modify() {
|
||||
POSTDISPLAY=""
|
||||
|
||||
# Original widget modifies the buffer
|
||||
_zsh_autosuggest_invoke_original_widget $@
|
||||
|
||||
|
|
Loading…
Reference in a new issue