Corretta verifica per non importazione fzf.

This commit is contained in:
Emiliano Vavassori 2022-01-01 00:20:26 +01:00
parent 76d3317ef4
commit 70b0262905

2
zshrc
View File

@ -41,7 +41,7 @@ fi
# Plugins
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
if [ "$(basename ${plugin})" != 'fzf.plugin.zsh' ]; then
source $plugin
fi
fi