]> arthur.barton.de Git - ax-zsh.git/blobdiff - plugins/fzf/fzf.zshrc
fzf: Update plugin to work on Fedora 35
[ax-zsh.git] / plugins / fzf / fzf.zshrc
index 95c6ff8d0a3141877b9b93a5d549c150a88c1635..526b5bea360a915dbbc8c3bb9708f631f7c64cdb 100644 (file)
@@ -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