aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-27 18:40:40 +0800
committerGuangxiong Lin <[email protected]>2022-03-27 18:40:40 +0800
commitcde7f6fc29b3cf39c11807edc95b38fe73a9f273 (patch)
treea96244039ba9c48ae644354e88c35c77c6be718b
parent12cab7365cbe126be85bcdf4a7b572d6da5dfacc (diff)
downloaddotfiles-cde7f6fc29b3cf39c11807edc95b38fe73a9f273.tar.gz
dotfiles-cde7f6fc29b3cf39c11807edc95b38fe73a9f273.tar.bz2
dotfiles-cde7f6fc29b3cf39c11807edc95b38fe73a9f273.zip
Ignore .cache folder in fzf
-rwxr-xr-x.fzfrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.fzfrc b/.fzfrc
index 1ce8946..154e1eb 100755
--- a/.fzfrc
+++ b/.fzfrc
@@ -2,7 +2,8 @@
export FZF_DEFAULT_COMMAND='find . -type f'
if command -v fd &> /dev/null; then
- export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
+ export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow \
+ --exclude .git --exclude .cache'
fi
export FZF_CTRL_T_COMMAND=$FZF_DEFAULT_COMMAND