summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2013-05-23 07:52:52 -0700
committerRobby Russell <robby@planetargon.com>2013-05-23 07:52:52 -0700
commit007853847875e92cfbcabe90f0c4d6228a6cc35d (patch)
tree6ddb0b0671b65ed139554bd1e69f62e8288bc699 /tools
parent78077afd12ae30e000ff500818c288df63aa0bbe (diff)
parent39b46f526c83a5d4704bd25eff03c7678230ec78 (diff)
downloadzsh-007853847875e92cfbcabe90f0c4d6228a6cc35d.tar.gz
zsh-007853847875e92cfbcabe90f0c4d6228a6cc35d.tar.bz2
zsh-007853847875e92cfbcabe90f0c4d6228a6cc35d.zip
Merge pull request #1775 from marcusmueller/fixupgradetool
fix for failing substition & eliminated unnecessary cd
Diffstat (limited to 'tools')
-rw-r--r--tools/upgrade.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/upgrade.sh b/tools/upgrade.sh
index 0aeebdebf..3624a88e5 100644
--- a/tools/upgrade.sh
+++ b/tools/upgrade.sh
@@ -1,8 +1,5 @@
-current_path=`pwd`
-current_path=${current_path/ /\\ }
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' ' __ __ '
@@ -17,4 +14,3 @@ else
printf '\033[0;31m%s\033[0m\n' 'There was an error updating. Try again later?'
fi
-cd "$current_path"