diff --git a/tools/upgrade.sh b/tools/upgrade.sh index 7a3a87e9a..bf6afc923 100755 --- a/tools/upgrade.sh +++ b/tools/upgrade.sh @@ -57,15 +57,15 @@ fi printf "${BLUE}%s${RESET}\n" "Updating Oh My Zsh" if git pull --rebase --stat origin master then - printf "\n${BLUE}%s\n" "update .zshrc" + #printf "\n${BLUE}%s\n" "update .zshrc" - cp "$ZSH/templates/zshrc.zsh-template" ~/.zshrc - sed "/^export ZSH=/ c\\ -export ZSH=\"$ZSH\" -" ~/.zshrc > ~/.zshrc-omztemp - mv -f ~/.zshrc-omztemp ~/.zshrc + #cp "$ZSH/templates/zshrc.zsh-template" ~/.zshrc + #sed "/^export ZSH=/ c\\ +#export ZSH=\"$ZSH\" +#" ~/.zshrc > ~/.zshrc-omztemp + #mv -f ~/.zshrc-omztemp ~/.zshrc - printf "%s\n" "update .zshrc end" + #printf "%s\n" "update .zshrc end" printf '%s %s__ %s %s %s %s %s__ %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_BLUE $RB_INDIGO $RB_VIOLET $RB_RESET printf '%s ____ %s/ /_ %s ____ ___ %s__ __ %s ____ %s_____%s/ /_ %s\n' $RB_RED $RB_ORANGE $RB_YELLOW $RB_GREEN $RB_BLUE $RB_INDIGO $RB_VIOLET $RB_RESET