Merge pull request #261778 from R-VdP/rvdp/fix_fish_key_bindings
fzf: fix fish integration
This commit is contained in:
commit
0bc8847fb2
1 changed files with 4 additions and 1 deletions
|
@ -79,7 +79,10 @@ buildGoModule rec {
|
|||
install -D shell/* -t $out/share/fzf/
|
||||
install -D shell/key-bindings.fish $out/share/fish/vendor_functions.d/fzf_key_bindings.fish
|
||||
mkdir -p $out/share/fish/vendor_conf.d
|
||||
echo fzf_key_bindings > $out/share/fish/vendor_conf.d/load-fzf-key-bindings.fish
|
||||
cat << EOF > $out/share/fish/vendor_conf.d/load-fzf-key-bindings.fish
|
||||
status is-interactive; or exit 0
|
||||
fzf_key_bindings
|
||||
EOF
|
||||
|
||||
cat <<SCRIPT > $out/bin/fzf-share
|
||||
#!${runtimeShell}
|
||||
|
|
Loading…
Reference in a new issue