mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
Escape spaces in folder name so script won't fail
If the current directory has spaces, the script fails to change paths and fails.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
current_path=`pwd`
|
||||
current_path=${current_path/ /\\ }
|
||||
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
|
||||
cd $ZSH
|
||||
|
||||
|
||||
Reference in New Issue
Block a user