From 801857a500d5eb66fe6d898e101b7894abded282 Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Wed, 23 Oct 2019 11:46:54 +0000 Subject: [PATCH] Use fd for fzf --- bashrc.d/fzf.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bashrc.d/fzf.bash b/bashrc.d/fzf.bash index 73095da..10c63bb 100644 --- a/bashrc.d/fzf.bash +++ b/bashrc.d/fzf.bash @@ -4,6 +4,9 @@ if [[ ! "$PATH" == */home/paul/.fzf/bin* ]]; then export PATH="${PATH:+${PATH}:}/home/paul/.fzf/bin" fi +export FZF_DEFAULT_COMMAND='fd --type f --color=never' +export FZF_ALT_C_COMMAND='fd --type d . --color=never' + # Auto-completion # --------------- [[ $- == *i* ]] && source "/home/paul/.fzf/shell/completion.bash" 2> /dev/null