Use fd for fzf if available
This commit is contained in:
5
zshenv
5
zshenv
@ -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")
|
||||
|
Reference in New Issue
Block a user