diff --git a/zsh/zshrc b/zsh/zshrc index 652116a..300a0b6 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -6,11 +6,14 @@ export HISTFILE="$ZDOTDIR/.zsh_history" export ZSH_TMUX_AUTOSTART=true -# For homebrew MacOSX -#export ZPLUG_HOME=/usr/local/opt/zplug -#source $ZPLUG_HOME/init.zsh -# For local manual installs -source ~/.zplug/init.zsh +if [ -e ${HOME}/.zplug/init.zsh ]; then + # For local manual installs + source ~/.zplug/init.zsh +elif [ -e /usr/local/opt/zplug/init.zsh ]; then + # For homebrew MacOSX + export ZPLUG_HOME=/usr/local/opt/zplug + source $ZPLUG_HOME/init.zsh +fi alias pip=pip3