This commit is contained in:
linsilence 2020-08-21 22:39:51 +08:00
commit ee5e9cb2a9

View file

@ -57,15 +57,15 @@ fi
printf "${BLUE}%s${RESET}\n" "Updating Oh My Zsh" printf "${BLUE}%s${RESET}\n" "Updating Oh My Zsh"
if git pull --rebase --stat origin master if git pull --rebase --stat origin master
then then
printf "\n${BLUE}%s\n" "update .zshrc" #printf "\n${BLUE}%s\n" "update .zshrc"
cp "$ZSH/templates/zshrc.zsh-template" ~/.zshrc #cp "$ZSH/templates/zshrc.zsh-template" ~/.zshrc
sed "/^export ZSH=/ c\\ #sed "/^export ZSH=/ c\\
export ZSH=\"$ZSH\" #export ZSH=\"$ZSH\"
" ~/.zshrc > ~/.zshrc-omztemp #" ~/.zshrc > ~/.zshrc-omztemp
mv -f ~/.zshrc-omztemp ~/.zshrc #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
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