mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
Escape /Users/desudhak/.oh-my-zsh path (previously broke spaces in path)
This commit is contained in:
parent
0ab0e67ecf
commit
9991401aaa
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue