From 1415fdb5c4e31e417afae60efd722d9ec0d070da Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Fri, 10 Dec 2021 22:53:19 +0800 Subject: Update fzf config --- .env | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.env') diff --git a/.env b/.env index 8e39ca9..a404b39 100644 --- a/.env +++ b/.env @@ -5,3 +5,8 @@ if [[ $TERM =~ 'st' ]]; then TERMINAL=st fi export TERMINAL=$TERMINAL + +export FZF_DEFAULT_COMMAND='find . -type f' +if [ -f /usr/bin/fd ];then + export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git' +fi -- cgit v1.2.3