diff --git a/zshrc b/zshrc index 81cf52c..5cf831c 100644 --- a/zshrc +++ b/zshrc @@ -41,12 +41,11 @@ fi # Plugins for plugin in `find $DOTFILES/zsh/plugins -type f -iname \*.plugin.zsh -print`; do if [ -f /etc/redhat-release ]; then - if [ "$(basename ${plugin})" != 'fzf.plugin.zsh' ]; then + if [ "${plugin}" != 'fzf.plugin.zsh' ]; then source $plugin fi - else - source $plugin fi + source $plugin done # EDITOR