From f010bef6b4eb0e252bde35e180d31573dfec330b Mon Sep 17 00:00:00 2001 From: srdusr Date: Sat, 3 Jun 2023 23:52:57 +0200 Subject: Trying to fix elif script syntax errors --- vi-mode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vi-mode.sh') diff --git a/vi-mode.sh b/vi-mode.sh index 5c3678f..a3f70e0 100644 --- a/vi-mode.sh +++ b/vi-mode.sh @@ -57,8 +57,8 @@ if [[ -n "$ZSH_VERSION" ]]; then # Map 'jk' to Escape key in INSERT mode bindkey -M viins 'jk' vi-cmd-mode -# Set vi-mode and key bindings for bash elif [[ -n "$BASH_VERSION" ]]; then + # Set vi-mode and key bindings for bash set -o vi # Show which mode -- cgit v1.2.3