From 20a7d3ecff13b3aa617538eb92069dbad096bd06 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 10 Dec 2021 23:18:23 +0100 Subject: [PATCH] fzf: Update plugin to work on Fedora 35 --- plugins/fzf/fzf.zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/fzf/fzf.zshrc b/plugins/fzf/fzf.zshrc index 95c6ff8..526b5be 100644 --- a/plugins/fzf/fzf.zshrc +++ b/plugins/fzf/fzf.zshrc @@ -30,9 +30,10 @@ for dir ( /usr/local/opt/fzf/shell /usr/local/share/examples/fzf/shell /opt/fzf/shell + /usr/share/fzf/shell ); do [[ -d "$dir" ]] || continue - source "$dir/completion.zsh" + [[ -r "$dir/completion.zsh" ]] && source "$dir/completion.zsh" source "$dir/key-bindings.zsh" return 0 done -- 2.39.2