add uninstall script
This commit is contained in:
7
uninstall.sh
Executable file
7
uninstall.sh
Executable 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
|
||||||
Reference in New Issue
Block a user