Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
7441438a
Commit
7441438a
authored
Feb 25, 2012
by
Max Masnick
Browse files
merge changes from offical repo
parents
9e3776f1
1120f973
Changes
61
Show whitespace changes
Inline
Side-by-side
tools/upgrade.sh
View file @
7441438a
current_path
=
`
pwd
`
echo
-e
"
\0
33[0;34mUpgrading Oh My Zsh
\0
33[0m"
(
cd
$ZSH
&&
git pull origin master
)
echo
-e
"
\0
33[0;32m"
' __ __ '
"
\0
33[0m"
echo
-e
"
\0
33[0;32m"
' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
"
\0
33[0m"
echo
-e
"
\0
33[0;32m"
' / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ '
"
\0
33[0m"
echo
-e
"
\0
33[0;32m"
'/ /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / '
"
\0
33[0m"
echo
-e
"
\0
33[0;32m"
'\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ '
"
\0
33[0m"
echo
-e
"
\0
33[0;32m"
' /____/ '
"
\0
33[0m"
echo
-e
"
\0
33[0;34mHooray! Oh My Zsh has been updated and/or is at the current version.
\0
33[0m"
echo
-e
"
\0
33[0;34mTo keep up on the latest, be sure to follow Oh My Zsh on twitter:
\0
33[1mhttp://twitter.com/ohmyzsh
\0
33[0m"
printf
'\033[0;34m%s\033[0m\n'
"Upgrading Oh My Zsh"
cd
$ZSH
if
git pull origin master
then
printf
'\033[0;32m%s\033[0m\n'
' __ __ '
printf
'\033[0;32m%s\033[0m\n'
' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
printf
'\033[0;32m%s\033[0m\n'
' / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ '
printf
'\033[0;32m%s\033[0m\n'
'/ /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / '
printf
'\033[0;32m%s\033[0m\n'
'\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ '
printf
'\033[0;32m%s\033[0m\n'
' /____/ '
printf
'\033[0;34m%s\033[0m\n'
'Hooray! Oh My Zsh has been updated and/or is at the current version.'
printf
'\033[0;34m%s\033[1m%s\033[0m\n'
'To keep up on the latest, be sure to follow Oh My Zsh on twitter: '
'http://twitter.com/ohmyzsh'
else
printf
'\033[0;31m%s\033[0m\n'
'There was an error updating. Try again later?'
fi
cd
"
$current_path
"
\ No newline at end of file
Prev
1
2
3
4
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment