Fix fzf configs

master
Livie 2024-03-01 20:05:28 +02:00
parent 3bf168c517
commit bf9ca6d383
1 changed files with 3 additions and 1 deletions

4
zshrc
View File

@ -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"
}