* Colorized uninstall output

* Plugin tool improved
This commit is contained in:
nebirhos 2012-03-25 18:50:09 +02:00
commit 2cf1adb251
3 changed files with 45 additions and 21 deletions

4
tools/uninstall.sh Normal file → Executable file
View file

@ -1,7 +1,7 @@
#!/bin/zsh
### Better prompt the user!
echo -n "Are you sure to completely remove Oh My Zsh?"
echo -n "\033[0;33mAre you sure to completely remove Oh My Zsh?\033[0m"
read "a? [type 'yes' to continue] "
if [[ $a != "yes" ]]; then
return 0
@ -26,4 +26,4 @@ else
source /etc/profile
fi
echo "Thanks for trying out Oh My Zsh. It's been uninstalled."
echo "Thanks for trying out Oh My Zsh. It's been uninstalled."