aboutsummaryrefslogtreecommitdiff
path: root/.fzfrc
diff options
context:
space:
mode:
Diffstat (limited to '.fzfrc')
-rwxr-xr-x.fzfrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.fzfrc b/.fzfrc
index 2126389..33aace7 100755
--- a/.fzfrc
+++ b/.fzfrc
@@ -1,7 +1,7 @@
# vim: ft=sh
export FZF_DEFAULT_COMMAND='find . -type f'
-if [ -f /usr/bin/fd ];then
+if command -v fd &> /dev/null; then
export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
fi