From 33995e09822a3f884a51a0f2f108887a00cd6b93 Mon Sep 17 00:00:00 2001 From: Orien Vandenbergh Date: Mon, 24 Aug 2020 15:39:49 -0600 Subject: [PATCH] Fix some bugs introduced with cut-n-paste --- zsh/zshrc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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