summaryrefslogtreecommitdiff
path: root/shell/key-bindings.bash
diff options
context:
space:
mode:
Diffstat (limited to 'shell/key-bindings.bash')
-rw-r--r--shell/key-bindings.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/key-bindings.bash b/shell/key-bindings.bash
index b132b179..9a3dff71 100644
--- a/shell/key-bindings.bash
+++ b/shell/key-bindings.bash
@@ -11,7 +11,7 @@
# - $FZF_ALT_C_COMMAND
# - $FZF_ALT_C_OPTS
-[[ $- =~ i ]] || return 0
+if [[ $- =~ i ]]; then
# Key bindings
@@ -132,3 +132,5 @@ if [[ "${FZF_ALT_C_COMMAND-x}" != "" ]]; then
bind -m vi-command '"\ec": "\C-z\ec\C-z"'
bind -m vi-insert '"\ec": "\C-z\ec\C-z"'
fi
+
+fi