Fix quotes for code style consistency

This commit is contained in:
Arnaud Venturi 2018-05-07 10:12:11 +02:00
parent b9345ebceb
commit b6396ea2eb
2 changed files with 2 additions and 2 deletions

View file

@ -168,7 +168,7 @@ _zsh_autosuggest_partial_accept() {
# instead of after it. We increment it by 1 to keep the following logic
# working even in this case.
CURSOR_POS=$CURSOR
if [ $KEYMAP = 'vicmd' ]; then
if [[ "$KEYMAP" = "vicmd" ]]; then
(( CURSOR_POS++ ))
fi

View file

@ -446,7 +446,7 @@ _zsh_autosuggest_partial_accept() {
# instead of after it. We increment it by 1 to keep the following logic
# working even in this case.
CURSOR_POS=$CURSOR
if [ $KEYMAP = 'vicmd' ]; then
if [[ "$KEYMAP" = "vicmd" ]]; then
(( CURSOR_POS++ ))
fi