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
00785384
Commit
00785384
authored
May 23, 2013
by
Robby Russell
Browse files
Merge pull request #1775 from marcusmueller/fixupgradetool
fix for failing substition & eliminated unnecessary cd
parents
78077afd
39b46f52
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/upgrade.sh
View file @
00785384
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
"
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