summaryrefslogtreecommitdiff
path: root/man/rcm.7
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 /man/rcm.7
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 'man/rcm.7')
-rw-r--r--man/rcm.712
1 files changed, 10 insertions, 2 deletions
diff --git a/man/rcm.7 b/man/rcm.7
index 05ebd90..69ea809 100644
--- a/man/rcm.7
+++ b/man/rcm.7
@@ -7,6 +7,7 @@
.Sh SYNOPSIS
.Nm lsrc
.Nm mkrc
+.Nm rcdn
.Nm rcup
.Sh DESCRIPTION
The rcm suite of tools is for managing dotfiles directories. This is a
@@ -91,10 +92,16 @@ A less common situation is for all the filenames in your dotfiles
directory to be prefixed with a period. These files are skipped by the
rcm suite, and thus would result in nothing happening. The only option
in this case is to rename all the files, for example by using a shell
-command like the following. Note that this will break any existing
-symlinks.
+command like the following.
.Pp
.Dl find ~/.dotfiles -name '.*' -exec echo mv {} `echo {} | sed 's/\.//'` \;
+.Pp
+Note that this will break any existing symlinks. Those can be safely
+removed using the
+.Xr rcdn 1
+command.
+.Pp
+.Dl rcdn -v
.Ss COMMON PROBLEM: DOTFILES DIRECTORY NOT IN Pa ~/.dotfiles
This all assumes that your dotfiles directory is
.Pa ~/.dotfiles .
@@ -222,6 +229,7 @@ dotfiles, too.
.Sh SEE ALSO
.Xr lsrc 1 ,
.Xr mkrc 1 ,
+.Xr rcdn 1 ,
.Xr rcup 1 ,
.Xr rcrc 5
.Sh AUTHORS