mirror of
https://github.com/zsh-users/zsh-autosuggestions
synced 2024-09-20 16:19:03 +02:00
Remove unnecessary reset of POSTDISPLAy
This commit is contained in:
parent
25f4afb058
commit
a44aa59321
|
@ -33,8 +33,6 @@ _zsh_autosuggest_modify() {
|
|||
# Add the suggestion to the POSTDISPLAY
|
||||
if [ -n "$suggestion" ]; then
|
||||
POSTDISPLAY="${suggestion#$BUFFER}"
|
||||
else
|
||||
unset POSTDISPLAY
|
||||
fi
|
||||
|
||||
return $retval
|
||||
|
|
|
@ -274,8 +274,6 @@ _zsh_autosuggest_modify() {
|
|||
# Add the suggestion to the POSTDISPLAY
|
||||
if [ -n "$suggestion" ]; then
|
||||
POSTDISPLAY="${suggestion#$BUFFER}"
|
||||
else
|
||||
unset POSTDISPLAY
|
||||
fi
|
||||
|
||||
return $retval
|
||||
|
|
Loading…
Reference in a new issue