Fix quotes for code style consistency
This commit is contained in:
parent
b9345ebceb
commit
b6396ea2eb
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue