From b65c880f10de7667a47c31098c8a1174b6e1679d Mon Sep 17 00:00:00 2001 From: "Bernardo B. Marques" Date: Thu, 5 Apr 2012 04:12:50 -0300 Subject: [PATCH] add uninstall script --- uninstall.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 uninstall.sh diff --git a/uninstall.sh b/uninstall.sh new file mode 100755 index 0000000..ca7b83a --- /dev/null +++ b/uninstall.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# uninstall by (github: bernardofire) +# Remove line from bashrc and zshrc if present. +for rc in bashrc zshrc; do + sed -i '/scm_breeze/d' "$HOME/.$rc" + printf "== Removed SCM Breeze from '$HOME/.$rc'\n" +done