# Use fd for fzf if (( $+commands[fd] && $+commands[fzf] )); then _fzf_compgen_path() { fd --hidden --follow --exclude ".git" . "$1" } _fzf_compgen_dir() { fd --type d --hidden --follow --exclude ".git" . "$1" } fi