mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
* Colorized uninstall output
* Plugin tool improved
This commit is contained in:
parent
d4ea17111e
commit
2cf1adb251
3 changed files with 45 additions and 21 deletions
4
tools/uninstall.sh
Normal file → Executable file
4
tools/uninstall.sh
Normal file → Executable 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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue