From 9f1928a1b8eb56cb3a9d5baabd50ac0d49d73256 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 26 Mar 2022 16:12:21 +0800 Subject: Update fzf config --- .fzfrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3