fish: load fzf bindings under nix

This commit is contained in:
Charles Gould 2020-06-09 01:15:00 +00:00
parent b3f74071f9
commit 9b5625df28

View File

@ -3,8 +3,11 @@ function fish_user_key_bindings
bind \cq fkill
# Bindings for fzf
if test -f (brew --prefix)/opt/fzf/shell/key-bindings.fish
if command -q brew
source (brew --prefix)/opt/fzf/shell/key-bindings.fish
fzf_key_bindings
else if command -q fzf-share
source (fzf-share)/key-bindings.fish
fzf_key_bindings
end
end