Commit 00785384 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #1775 from marcusmueller/fixupgradetool

fix for failing substition & eliminated unnecessary cd
parents 78077afd 39b46f52
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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment