aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-26 16:12:21 +0800
committerGuangxiong Lin <[email protected]>2022-03-26 16:12:21 +0800
commit9f1928a1b8eb56cb3a9d5baabd50ac0d49d73256 (patch)
tree96366347c595ad34be92f610fd31916579a84c36
parenta544a8c35bd5ebbb2c21f08cac6cb50163b4b754 (diff)
downloaddotfiles-9f1928a1b8eb56cb3a9d5baabd50ac0d49d73256.tar.gz
dotfiles-9f1928a1b8eb56cb3a9d5baabd50ac0d49d73256.tar.bz2
dotfiles-9f1928a1b8eb56cb3a9d5baabd50ac0d49d73256.zip
Update fzf config
-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