From cde7f6fc29b3cf39c11807edc95b38fe73a9f273 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 27 Mar 2022 18:40:40 +0800 Subject: Ignore .cache folder in fzf --- .fzfrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3