Esclusa importazione plugin per CentOS.

This commit is contained in:
Emiliano Vavassori 2022-01-01 00:01:25 +01:00
parent 5fa69f6396
commit 76d3317ef4

7
zshrc
View File

@ -40,6 +40,11 @@ fi
# Plugins # Plugins
for plugin in `find $DOTFILES/zsh/plugins -type f -iname \*.plugin.zsh -print`; do for plugin in `find $DOTFILES/zsh/plugins -type f -iname \*.plugin.zsh -print`; do
if [ -f /etc/redhat-release ]; then
if [ "${plugin}" != 'fzf.plugin.zsh' ]; then
source $plugin
fi
fi
source $plugin source $plugin
done done
@ -47,7 +52,7 @@ done
export EDITOR="/usr/bin/vim" export EDITOR="/usr/bin/vim"
# FZF default options # FZF default options
if [ -x `which fzf` ]; then if [ -x `which fzf 2>/dev/null` ]; then
export FZF_DEFAULT_OPTS="--multi --no-mouse --ansi --color=dark" export FZF_DEFAULT_OPTS="--multi --no-mouse --ansi --color=dark"
fi fi