From 2c7134930474e54b8c88e89400fd7c05588ee325 Mon Sep 17 00:00:00 2001 From: finga Date: Sat, 24 Jun 2023 03:11:22 +0200 Subject: [PATCH] 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`. --- .zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zshrc b/.zshrc index d893432..1a84f7f 100644 --- a/.zshrc +++ b/.zshrc @@ -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