From afaf628aeb3d6881213c8a846599b67ba1571346 Mon Sep 17 00:00:00 2001 From: srdusr Date: Sun, 4 Jun 2023 00:38:36 +0200 Subject: Fix EOF error/parenthesis mismatched --- vi-mode.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vi-mode.sh b/vi-mode.sh index e136c32..75ddd3a 100644 --- a/vi-mode.sh +++ b/vi-mode.sh @@ -28,7 +28,7 @@ if [ -n "$ZSH_VERSION" ]; then # this is required for initial prompt and a problem I had with Ctrl+C or # Enter when in normal mode (a new line would come up in insert mode, # but normal mode would be indicated) - PS1="%{${terminfo_down_sc}$(show-mode)${terminfo[rc]}%}%~ $ " + PS1="%{${terminfo_down_sc}%$(show-mode)%${terminfo[rc]}%}%~ $ " } set-prompt () { @@ -107,4 +107,3 @@ elif [ -n "$BASH_VERSION" ]; then else echo "Unsupported shell" fi - -- cgit v1.2.3