mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-01-30 09:47:12 +08:00
do not show suggestion on completion
This commit is contained in:
parent
87facd9b85
commit
d9ff23463b
@ -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 $@
|
||||||
|
|
||||||
|
@ -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 $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user