diff --git a/tools/uninstall.sh b/tools/uninstall.sh index 8ff583322..9157651ad 100644 --- a/tools/uninstall.sh +++ b/tools/uninstall.sh @@ -1,3 +1,12 @@ +#!/bin/zsh + +### Better prompt the user! +echo -n "Are you sure to completely remove OH MY ZSH?" +read "a? [type 'yes' to continue] " +if [[ $a != "yes" ]]; then + return 0 +fi + echo "Removing ~/.oh-my-zsh" if [[ -d ~/.oh-my-zsh ]] then