aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-06-03 23:43:51 +0200
committersrdusr <trevorgray@srdusr.com>2023-06-03 23:43:51 +0200
commit950b8a1e10ac248ab10d8b3ecde83f25167c19f1 (patch)
tree1c1d44e805131733458d0d1db42e3f6ee8abf06e
parent7a4e843a0bbb74f028b92b23abbaa27c468db3e7 (diff)
downloaddotfiles-950b8a1e10ac248ab10d8b3ecde83f25167c19f1.tar.gz
dotfiles-950b8a1e10ac248ab10d8b3ecde83f25167c19f1.zip
Still trying to fix script syntax errors
-rw-r--r--vi-mode.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/vi-mode.sh b/vi-mode.sh
index 7776106..5c3678f 100644
--- a/vi-mode.sh
+++ b/vi-mode.sh
@@ -31,9 +31,10 @@ if [[ -n "$ZSH_VERSION" ]]; then
PS1="%{$terminfo_down_sc$VI_MODE$terminfo[rc]%}%~ $ "
}
- function zle-line-init() zle-keymap-select() {
+ function zle-line-init () {
set-prompt
zle reset-prompt
+ zle-keymap-select
}
preexec () { print -rn -- $terminfo[el]; }