aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S20_environment
diff options
context:
space:
mode:
Diffstat (limited to 'files/.zsh/rc/S20_environment')
-rw-r--r--files/.zsh/rc/S20_environment6
1 files changed, 6 insertions, 0 deletions
diff --git a/files/.zsh/rc/S20_environment b/files/.zsh/rc/S20_environment
index e3f1125..115ae1f 100644
--- a/files/.zsh/rc/S20_environment
+++ b/files/.zsh/rc/S20_environment
@@ -36,6 +36,12 @@ export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'
export FZF_DEFAULT_OPTS="--color=light"
+if [ $(command -v fdfind) ] ; then
+ export FZF_DEFAULT_COMMAND="fdfind --type file"
+elif [ $(command -v fd) ] ; then
+ export FZF_DEFAULT_COMMAND="fd --type file"
+fi
+export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
# vim: et ft=zsh :