mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Merge branch 'master' of https://github.com/snakewarhead/oh-my-zsh
This commit is contained in:
commit
ee5e9cb2a9
1 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue