1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:02:32 +08:00

Escape /Users/desudhak/.oh-my-zsh path (previously broke spaces in path)

This commit is contained in:
Deepu Sudhakar 2013-03-10 14:36:39 -05:00
parent 0ab0e67ecf
commit 9991401aaa

View File

@ -1,6 +1,6 @@
current_path=`pwd`
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
cd $ZSH
cd "$ZSH"
if git pull origin master
then
@ -16,4 +16,4 @@ else
printf '\033[0;31m%s\033[0m\n' 'There was an error updating. Try again later?'
fi
cd "$current_path"
cd "$current_path"