add uninstall script

This commit is contained in:
Bernardo B. Marques
2012-04-05 04:12:50 -03:00
parent e8611bddbc
commit b65c880f10

7
uninstall.sh Executable file
View File

@@ -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