fish: fix loading fzf key binds
This commit is contained in:
parent
39c1da87b0
commit
0f75cd1816
|
@ -34,13 +34,14 @@ end
|
||||||
bind \cy 'commandline | wl-copy -n'
|
bind \cy 'commandline | wl-copy -n'
|
||||||
|
|
||||||
# Enable fzf key bindings
|
# Enable fzf key bindings
|
||||||
if test -f /usr/share/fzf/key-bindings.fish
|
if type -q fzf_key_bindings
|
||||||
source /usr/share/fzf/key-bindings.fish
|
|
||||||
fzf_key_bindings
|
fzf_key_bindings
|
||||||
|
else if test -f /usr/share/fzf/key-bindings.fish
|
||||||
|
source /usr/share/fzf/key-bindings.fish
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
function rcd #{{{
|
function rcd
|
||||||
set file (mktemp)
|
set file (mktemp)
|
||||||
|
|
||||||
ranger --choosedir=$file
|
ranger --choosedir=$file
|
||||||
|
|
Reference in New Issue