From: Alexander Barton Date: Fri, 10 Dec 2021 22:18:23 +0000 (+0100) Subject: fzf: Update plugin to work on Fedora 35 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20a7d3ecff13b3aa617538eb92069dbad096bd06;hp=a73a7756d730e4b803ffbdf27b8e62b4b821dd8b;p=ax-zsh.git fzf: Update plugin to work on Fedora 35 --- 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