diff --git a/zshrc b/zshrc index 6e93320..5e2f722 100644 --- a/zshrc +++ b/zshrc @@ -54,6 +54,8 @@ fi # fzf opts #export FZF_COMPLETION_OPTS='' +export FZF_DEFAULT_COMMAND='fd --hidden --follow --exclude ".git"' +export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" # fd use for fzf _fzf_compgen_path() { @@ -61,6 +63,6 @@ _fzf_compgen_path() { } _fzf_compgen_dir() { - fd --type d --hidden --follow ^^exclude ".git" . "$1" + fd --type d --hidden --follow --exclude ".git" . "$1" }