From 518c5b92877e69fe7647f7ccd3ef143ef84dc418 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Tue, 13 Aug 2024 18:24:56 -0700 Subject: [PATCH] Fix fzf paths. --- bashrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 26baad9..9c3b4ce 100644 --- a/bashrc +++ b/bashrc @@ -31,4 +31,9 @@ if type -t __git_complete >/dev/null; then __git_complete gp _git_push fi -test -f /usr/share/fzf/shell/key-bindings.bash && . /usr/share/fzf/shell/key-bindings.bash +for fn in /usr/share/fzf/shell/key-bindings.bash /usr/share/fzf/key-bindings.bash; do + if test -f $fn; then + . $fn + break + fi +done