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:
parent
5e3522ccf6
commit
2c71349304
1 changed files with 2 additions and 0 deletions
2
.zshrc
2
.zshrc
|
@ -65,6 +65,8 @@ export GPG_TTY
|
||||||
# source fzf
|
# source fzf
|
||||||
if [ -e "/usr/share/doc/fzf/examples/key-bindings.zsh" ] ; then
|
if [ -e "/usr/share/doc/fzf/examples/key-bindings.zsh" ] ; then
|
||||||
. /usr/share/doc/fzf/examples/key-bindings.zsh
|
. /usr/share/doc/fzf/examples/key-bindings.zsh
|
||||||
|
elif [ -e "/usr/share/fzf/key-bindings.zsh" ] ; then
|
||||||
|
. /usr/share/fzf/key-bindings.zsh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# source virtualenvwrapper
|
# source virtualenvwrapper
|
||||||
|
|
Loading…
Reference in a new issue