summaryrefslogtreecommitdiff
path: root/tools/upgrade.sh
diff options
context:
space:
mode:
authorAndrew Hodges <betawaffle@gmail.com>2011-06-03 14:05:25 -0400
committerAndrew Hodges <betawaffle@gmail.com>2011-06-03 14:05:25 -0400
commit0c41b1cdc3ff7b00ffb2310b91becb91b31704f7 (patch)
treef462ebea9685d5df3e45382b78d70c38c596953e /tools/upgrade.sh
parent3ed19c4895cc64d4f51a7f370a93c9d0cee567d2 (diff)
downloadzsh-0c41b1cdc3ff7b00ffb2310b91becb91b31704f7.tar.gz
zsh-0c41b1cdc3ff7b00ffb2310b91becb91b31704f7.tar.bz2
zsh-0c41b1cdc3ff7b00ffb2310b91becb91b31704f7.zip
Colorize Install & Upgrade Scripts
Make tools/install.sh and tools/upgrade.sh pretty.
Diffstat (limited to 'tools/upgrade.sh')
-rw-r--r--tools/upgrade.sh21
1 files changed, 11 insertions, 10 deletions
diff --git a/tools/upgrade.sh b/tools/upgrade.sh
index 6bdd02e38..7e5cc7655 100644
--- a/tools/upgrade.sh
+++ b/tools/upgrade.sh
@@ -1,12 +1,13 @@
current_path=`pwd`
-echo "Upgrading Oh My Zsh"
+echo "\033[0;34mUpgrading Oh My Zsh\033[0m"
( cd $ZSH && git pull origin master )
-echo ' __ __ '
-echo ' ____ / /_ ____ ___ __ __ ____ _____/ /_ '
-echo ' / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ '
-echo '/ /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / '
-echo '\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ '
-echo ' /____/'
-echo "Hooray! Oh My Zsh has been updated and/or is at the current version. \nAny new updates will be reflected when you start your next terminal session."
-echo "To keep up on the latest, be sure to follow Oh My Zsh on twitter: http://twitter.com/ohmyzsh"
-cd $current_path \ No newline at end of file
+echo "\033[0;32m"' __ __ '"\033[0m"
+echo "\033[0;32m"' ____ / /_ ____ ___ __ __ ____ _____/ /_ '"\033[0m"
+echo "\033[0;32m"' / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ '"\033[0m"
+echo "\033[0;32m"'/ /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / '"\033[0m"
+echo "\033[0;32m"'\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ '"\033[0m"
+echo "\033[0;32m"' /____/ '"\033[0m"
+echo "\033[0;34mHooray! Oh My Zsh has been updated and/or is at the current version.\033[0m"
+echo "\033[0;34mAny new updates will be reflected when you start your next terminal session.\033[0m"
+echo "\033[0;34mTo keep up on the latest, be sure to follow Oh My Zsh on twitter: \033[1mhttp://twitter.com/ohmyzsh\033[0m"
+cd $current_path