aboutsummaryrefslogtreecommitdiff
path: root/vi-mode.sh
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-06-04 00:38:36 +0200
committersrdusr <trevorgray@srdusr.com>2023-06-04 00:38:36 +0200
commitafaf628aeb3d6881213c8a846599b67ba1571346 (patch)
tree964b0214d2e2ac92349b17021b20080c37085868 /vi-mode.sh
parentef74c4dff0667854df3d149a74d841eb6b3b2cc7 (diff)
downloaddotfiles-afaf628aeb3d6881213c8a846599b67ba1571346.tar.gz
dotfiles-afaf628aeb3d6881213c8a846599b67ba1571346.zip
Fix EOF error/parenthesis mismatched
Diffstat (limited to 'vi-mode.sh')
-rw-r--r--vi-mode.sh3
1 files changed, 1 insertions, 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
-