mirror of
https://github.com/junegunn/fzf.git
synced 2026-08-16 13:01:20 +02:00
Just like with the other shells, exit fish to, if called from a non-interactive
shell.
We cannot use `return`, as older versions of fish (namely < 3.4.0) did not
support to use `return` in `.`-scripts (this was only added with fish commit
3359e5d2e9bcbf19d1652636c8e448a6889302ae).
Unlike in POSIX, fish’s `exit` is however documented to no cause the calling
shell to exit when executed in a sourced script (see:
|
||
|---|---|---|
| .. | ||
| completion.bash | ||
| completion.zsh | ||
| key-bindings.bash | ||
| key-bindings.fish | ||
| key-bindings.zsh | ||