summaryrefslogtreecommitdiff
path: root/share/rcm.sh.in
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2013-08-02 17:37:41 -0400
committerGravatar Mike Burns <mike@mike-burns.com>2013-08-03 12:32:48 -0400
commit22b4bd5555fb8c56aa3137c19ec24704ddc3f64f (patch)
tree7b53522ab86b3b1f30240cc60ea83f97fe8d982e /share/rcm.sh.in
parent5ebd40d8ab1d4806924476a3853edb101ca0a6ff (diff)
Add rcdn
This program will remove all your rc files that are symlinked. This can be further controlled by `-d` and `-t`. For example, you can feel comfortable trying new rc files because you can quickly remove them again with `-d`. rcup -d thoughtbot-dotfiles rcdn -d thoughtbot-dotfiles Likewise, when you're done with Python just drop it: rcdn -t python
Diffstat (limited to 'share/rcm.sh.in')
-rw-r--r--share/rcm.sh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/rcm.sh.in b/share/rcm.sh.in
index 3b8b87b..f25665b 100644
--- a/share/rcm.sh.in
+++ b/share/rcm.sh.in
@@ -51,18 +51,21 @@ handle_common_flags() {
VERBOSE=echo
PRINT=echo
MV="$MV -v"
+ RM="$RM -v"
INSTALL="$INSTALL -vv"
elif [ $verbosity -eq 1 ]; then
DEBUG=:
VERBOSE=echo
PRINT=echo
MV="$MV -v"
+ RM="$RM -v"
INSTALL="$INSTALL -v"
elif [ $verbosity -eq 0 ]; then
DEBUG=:
VERBOSE=:
PRINT=echo
MV="$MV -v"
+ RM="$RM -v"
else
DEBUG=:
VERBOSE=: