1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-12-13 16:04:08 +08:00
This commit is contained in:
Chih-Hung Yeh 2025-12-08 12:49:19 +01:00 committed by GitHub
commit 7546220b7c
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
fi
echo "Removing ~/.oh-my-zsh"
if [ -d ~/.oh-my-zsh ]; then
# echo "Removing ~/.oh-my-zsh"
# 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
fi