Escape /Users/desudhak/.oh-my-zsh path (previously broke spaces in path)
This commit is contained in:
parent
0ab0e67ecf
commit
9991401aaa
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user