summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbitraid <bitraid@protonmail.ch>2024-11-14 11:16:03 +0200
committerJunegunn Choi <junegunn.c@gmail.com>2024-11-18 19:08:34 +0900
commit2b7f168571d53a19f4c60fcb6b3e20e2b688b28f (patch)
tree2b1f941ba01879d07d40979b4575cb65e88e6183
parent5b3da1d878200c82acc07d0b6b8613eab3d7eac1 (diff)
downloadfzf-2b7f168571d53a19f4c60fcb6b3e20e2b688b28f.tar.gz
[fish] Enable keys for scripts that use read
Remove the check that exits when the shell is non-interactive, so that the key bindings will work for the read command, when used by scripts.
-rw-r--r--shell/key-bindings.fish2
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/key-bindings.fish b/shell/key-bindings.fish
index 1630227c..745a89f1 100644
--- a/shell/key-bindings.fish
+++ b/shell/key-bindings.fish
@@ -11,8 +11,6 @@
# - $FZF_ALT_C_COMMAND
# - $FZF_ALT_C_OPTS
-status is-interactive; or exit 0
-
# Key bindings
# ------------