From abe0472dcb88a2482132ce1213f40aac56ce450a Mon Sep 17 00:00:00 2001 From: Kuba Serafinowski Date: Sun, 6 Mar 2011 09:38:18 +0100 Subject: [PATCH] Tweak uninstall script: remove copy-paste error, some texts etc. --- tools/uninstall.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/uninstall.sh b/tools/uninstall.sh index 8ff583322..1543fb1d0 100644 --- a/tools/uninstall.sh +++ b/tools/uninstall.sh @@ -1,20 +1,20 @@ -echo "Removing ~/.oh-my-zsh" +echo "Removing Oh My Zsh" if [[ -d ~/.oh-my-zsh ]] then rm -rf ~/.oh-my-zsh fi -echo "Looking for an existing zsh config..." +echo "Looking for a previous zsh config..." if [ -f ~/.zshrc.pre-oh-my-zsh ] || [ -h ~/.zshrc.pre-oh-my-zsh ] then - echo "Found ~/.zshrc. Backing up to ~/.zshrc.pre-oh-my-zsh"; + echo "File found! Moving it back in place"; rm ~/.zshrc; - cp ~/.zshrc.pre-oh-my-zsh ~/.zshrc; + mv ~/.zshrc.pre-oh-my-zsh ~/.zshrc; source ~/.zshrc; else - echo "Switching back to bash" + echo "File not found. Switching back to bash" chsh -s /bin/bash source /etc/profile fi -echo "Thanks for trying out Oh My Zsh. It's been uninstalled." \ No newline at end of file +echo "Thanks for trying out Oh My Zsh. It's been uninstalled."