Skip to content

Commit

Permalink
[fish] exit as well when called from non-interactive shell
Browse files Browse the repository at this point in the history
Just like with the other shells, exit fish to, if called from a non-interactive
shell.

Signed-off-by: Christoph Anton Mitterer <[email protected]>
  • Loading branch information
calestyo committed Sep 24, 2023
1 parent 2952737 commit ff1837c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shell/key-bindings.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
# - $FZF_ALT_C_COMMAND
# - $FZF_ALT_C_OPTS

status is-interactive; or return 0


# Key bindings
# ------------
function fzf_key_bindings
Expand Down

0 comments on commit ff1837c

Please sign in to comment.