Compare commits

...

2 Commits

Author SHA1 Message Date
Chih-Hung Yeh 46a8199c7d
Merge 70f096adc6 into 6e7ac0544e 2025-02-19 12:54:19 +01:00
chyeh 70f096adc6 Fix uninstall script 2024-06-13 16:03:00 +02:00
1 changed files with 8 additions and 2 deletions

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