From 70b0262905e6da948e7e91924538a77825e58445 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 1 Jan 2022 00:20:26 +0100 Subject: [PATCH] Corretta verifica per non importazione fzf. --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 5cf831c..dd4e393 100644 --- a/zshrc +++ b/zshrc @@ -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