Use fd for fzf if available

This commit is contained in:
2021-08-09 11:58:16 -05:00
parent 8e488b12b3
commit 14633afba2
4 changed files with 26 additions and 5 deletions

5
zshenv
View File

@ -17,5 +17,10 @@ if (( $+commands[ruby] )); then
[[ -d "$gem_bin_path" ]] && path+=("$gem_bin_path")
fi
if (( $+commands[fd] )); then
export FZF_DEFAULT_COMMAND="fd --type f"
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
fi
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
[[ -d "$HOME/.rvm/bin" ]] && path+=("$HOME/.rvm/bin")