diff --git a/zshrc b/zshrc index 5cf831c..81cf52c 100644 --- a/zshrc +++ b/zshrc @@ -41,11 +41,12 @@ 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 + else + source $plugin fi - source $plugin done # EDITOR