diff --git a/fish/functions/fish_user_key_bindings.fish b/fish/functions/fish_user_key_bindings.fish index 3ee7992..c671e9f 100644 --- a/fish/functions/fish_user_key_bindings.fish +++ b/fish/functions/fish_user_key_bindings.fish @@ -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