fish: load fzf bindings under nix
This commit is contained in:
parent
b3f74071f9
commit
9b5625df28
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user