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
Ohmyzsh
Commits
82568cc7
Commit
82568cc7
authored
Dec 16, 2011
by
Robby Russell
Browse files
Merge pull request #708 from eatnumber1/update-print
Use printf rather than echo -e in update.sh
parents
c133f418
7ec2dd98
Changes
1
Show whitespace changes
Inline
Side-by-side
tools/upgrade.sh
View file @
82568cc7
current_path
=
`
pwd
`
current_path
=
`
pwd
`
echo
-e
"
\0
33[0;34mUpgrading Oh My Zsh
\0
33[0m
"
printf
'
\033[0;34m
%s\033[0m\n'
"
Upgrading Oh My Zsh"
(
cd
$ZSH
&&
git pull origin master
)
(
cd
$ZSH
&&
git pull origin master
)
echo
-e
"
\0
33[0;32m
"
' __ __ '
"
\0
33[0m"
printf
'
\033[0;32m
%s\033[0m\n'
' __ __ '
echo
-e
"
\0
33[0;32m
"
' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
"
\0
33[0m"
printf
'
\033[0;32m
%s\033[0m\n'
' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
echo
-e
"
\0
33[0;32m
"
' / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ '
"
\0
33[0m"
printf
'
\033[0;32m
%s\033[0m\n'
' / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ '
echo
-e
"
\0
33[0;32m
"
'/ /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / '
"
\0
33[0m"
printf
'
\033[0;32m
%s\033[0m\n'
'/ /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / '
echo
-e
"
\0
33[0;32m
"
'\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ '
"
\0
33[0m"
printf
'
\033[0;32m
%s\033[0m\n'
'\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ '
echo
-e
"
\0
33[0;32m
"
' /____/ '
"
\0
33[0m"
printf
'
\033[0;32m
%s\033[0m\n'
' /____/ '
echo
-e
"
\0
33[0;34mHooray! Oh My Zsh has been updated and/or is at the current version.
\0
33[0m"
printf
'
\033[0;34m
%s\033[0m\n'
'
Hooray! Oh My Zsh has been updated and/or is at the current version.
'
echo
-e
"
\0
33[0;34mTo keep up on the latest, be sure to follow Oh My Zsh on twitter:
\0
33[1m
http://twitter.com/ohmyzsh
\0
33[0m"
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
'
cd
"
$current_path
"
cd
"
$current_path
"
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