fzf: Look also in other path for the key bindings

In order to also work on Arch Linux also look in `/usr/share/fzf/` for
`key-bindings.zsh`.
This commit is contained in:
finga 2023-06-24 03:11:22 +02:00
parent 5e3522ccf6
commit 2c71349304

2
.zshrc
View file

@ -65,6 +65,8 @@ export GPG_TTY
# source fzf
if [ -e "/usr/share/doc/fzf/examples/key-bindings.zsh" ] ; then
. /usr/share/doc/fzf/examples/key-bindings.zsh
elif [ -e "/usr/share/fzf/key-bindings.zsh" ] ; then
. /usr/share/fzf/key-bindings.zsh
fi
# source virtualenvwrapper