mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #261778 from R-VdP/rvdp/fix_fish_key_bindings
fzf: fix fish integration
This commit is contained in:
commit
0bc8847fb2
@ -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 New Issue
Block a user