*-highlight: Fix removal of trailing "/' when recursing in eval

This commit is contained in:
Sebastian Gniazdowski 2018-06-02 13:42:52 +02:00
parent 4f61938ab5
commit df92fedff5

View file

@ -642,7 +642,7 @@ typeset -ga ZLAST_COMMANDS
else
__idx=0
fi
-fast-highlight-process "$PREBUFFER" "${__arg[2,__asize-1]}" "$(( _start_pos + 1 ))"
-fast-highlight-process "$PREBUFFER" "${__arg[2,__asize]%[\'\"]}" "$(( _start_pos + 1 ))"
(( __idx )) && FAST_THEME_NAME="$_mybuf"
already_added=1
else