0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02: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` current_path=`pwd`
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh" printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
cd $ZSH cd "$ZSH"
if git pull origin master if git pull origin master
then then
@ -16,4 +16,4 @@ else
printf '\033[0;31m%s\033[0m\n' 'There was an error updating. Try again later?' printf '\033[0;31m%s\033[0m\n' 'There was an error updating. Try again later?'
fi fi
cd "$current_path" cd "$current_path"