82568cc7e64502c953226bfa30a34fb4bcd46d99

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #708 from eatnumber1/update-print

Use printf rather than echo -e in update.sh

Diff

 1diff --git a/tools/upgrade.sh b/tools/upgrade.sh
 2index 52a8cc4da7bb4ea28e61a7f57390b3a7c933802d..6ffe56f4caa1c353c759c2586b8ef25f50ca2487 100644
 3--- a/tools/upgrade.sh
 4+++ b/tools/upgrade.sh
 5@@ -1,12 +1,12 @@
 6 current_path=`pwd`
 7-echo -e "\033[0;34mUpgrading Oh My Zsh\033[0m"
 8+printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
 9 ( cd $ZSH && git pull origin master )
10-echo -e "\033[0;32m"'         __                                     __   '"\033[0m"
11-echo -e "\033[0;32m"'  ____  / /_     ____ ___  __  __   ____  _____/ /_  '"\033[0m"
12-echo -e "\033[0;32m"' / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ '"\033[0m"
13-echo -e "\033[0;32m"'/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / '"\033[0m"
14-echo -e "\033[0;32m"'\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  '"\033[0m"
15-echo -e "\033[0;32m"'                        /____/                       '"\033[0m"
16-echo -e "\033[0;34mHooray! Oh My Zsh has been updated and/or is at the current version.\033[0m"
17-echo -e "\033[0;34mTo keep up on the latest, be sure to follow Oh My Zsh on twitter: \033[1mhttp://twitter.com/ohmyzsh\033[0m"
18+printf '\033[0;32m%s\033[0m\n' '         __                                     __   '
19+printf '\033[0;32m%s\033[0m\n' '  ____  / /_     ____ ___  __  __   ____  _____/ /_  '
20+printf '\033[0;32m%s\033[0m\n' ' / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ '
21+printf '\033[0;32m%s\033[0m\n' '/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / '
22+printf '\033[0;32m%s\033[0m\n' '\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  '
23+printf '\033[0;32m%s\033[0m\n' '                        /____/                       '
24+printf '\033[0;34m%s\033[0m\n' 'Hooray! Oh My Zsh has been updated and/or is at the current version.'
25+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'
26 cd "$current_path"