mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 14:20:08 +00:00
Fix uninstall script
This commit is contained in:
parent
8908e6d720
commit
70f096adc6
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue