Skip to content

Commit

Permalink
do not show suggestion on completion
Browse files Browse the repository at this point in the history
  • Loading branch information
seletskiy committed Apr 22, 2016
1 parent 87facd9 commit d9ff234
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/widgets.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@

Expand Down
2 changes: 2 additions & 0 deletions zsh-autosuggestions.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@

Expand Down

0 comments on commit d9ff234

Please sign in to comment.