Resa condizionale export variabile fzf.

This commit is contained in:
Emiliano Vavassori 2021-12-31 23:57:45 +01:00
parent 4a40f9cfd2
commit 5fa69f6396

4
zshrc
View File

@ -47,7 +47,9 @@ done
export EDITOR="/usr/bin/vim"
# FZF default options
export FZF_DEFAULT_OPTS="--multi --no-mouse --ansi --color=dark"
if [ -x `which fzf` ]; then
export FZF_DEFAULT_OPTS="--multi --no-mouse --ansi --color=dark"
fi
# Loading rvm if exists
[ -f /etc/profile.d/rvm.sh ] && source /etc/profile.d/rvm.sh