Remove unnecessary reset of POSTDISPLAy

This commit is contained in:
Eric Freese 2016-07-31 20:09:26 -06:00
parent 25f4afb058
commit a44aa59321
2 changed files with 0 additions and 4 deletions

View file

@ -33,8 +33,6 @@ _zsh_autosuggest_modify() {
# Add the suggestion to the POSTDISPLAY # Add the suggestion to the POSTDISPLAY
if [ -n "$suggestion" ]; then if [ -n "$suggestion" ]; then
POSTDISPLAY="${suggestion#$BUFFER}" POSTDISPLAY="${suggestion#$BUFFER}"
else
unset POSTDISPLAY
fi fi
return $retval return $retval

View file

@ -274,8 +274,6 @@ _zsh_autosuggest_modify() {
# Add the suggestion to the POSTDISPLAY # Add the suggestion to the POSTDISPLAY
if [ -n "$suggestion" ]; then if [ -n "$suggestion" ]; then
POSTDISPLAY="${suggestion#$BUFFER}" POSTDISPLAY="${suggestion#$BUFFER}"
else
unset POSTDISPLAY
fi fi
return $retval return $retval