mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Fix handling spaces in $ZSH
the $ZSH variable has a problem with PATHs having spaces in them. eg: automatic cloning to /home/Michael Wilcox/.oh-my-zsh fails due to the variable being set to /home/Michael This fixes the problem. (Tested on [Cygwin](http://www.starlig.ht))
This commit is contained in:
parent
66bae5a5de
commit
2c3e2904b2
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ main() {
|
|||
exit 1
|
||||
fi
|
||||
fi
|
||||
env git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git $ZSH || {
|
||||
env git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git "$ZSH" || {
|
||||
printf "Error: git clone of oh-my-zsh repo failed\n"
|
||||
exit 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue