Question : [oh-my-zsh] can't update: not a git repository.
Answered by : tajwar-tajim
//if zsh is present
rm -rf "$ZSH"
git clone --depth=1 https://github.com/ohmyzsh/ohmyzsh.git "$ZSH"
//else
git clone --depth=1 https://github.com/ohmyzsh/ohmyzsh.git "$ZSH"
Source : | Last Update : Thu, 10 Nov 22