1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-10-16 11:40:46 +00:00
This commit is contained in:
Chih-Hung Yeh 2024-09-23 09:13:10 +02:00 committed by GitHub
commit 51b1c966e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,8 +16,14 @@ if [ "$confirmation" != y ] && [ "$confirmation" != Y ]; then
exit exit
fi fi
echo "Removing ~/.oh-my-zsh" # echo "Removing ~/.oh-my-zsh"
if [ -d ~/.oh-my-zsh ]; then # if [ -d ~/.oh-my-zsh ]; then
# rm -rf ~/.oh-my-zsh
# fi
echo "Removing oh-my-zsh directory"
if [ -n "$ZSH" -a -d "$ZSH" ]; then
rm -rf "$ZSH"
elif [ -d ~/.oh-my-zsh ]; then
rm -rf ~/.oh-my-zsh rm -rf ~/.oh-my-zsh
fi fi