summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Melissa Xie <melissa@thoughtbot.com>2014-11-24 17:04:14 -0500
committerGravatar Melissa Xie <melissa@thoughtbot.com>2014-12-02 20:32:54 -0500
commit78db1a5086ccf17345956105e48e649f5e09abbf (patch)
tree5237d626131a267e3d08a948f8ff6c94dcf26119
parent21726c6e9eeb2f422749580528b41fb6d0b0b422 (diff)
Add rcup example of adding new rc files
It wasn't obvious that you could also use rcup with undotted files to add them as new rc files. There was also a typo.
-rw-r--r--man/rcm.7.mustache12
1 files changed, 10 insertions, 2 deletions
diff --git a/man/rcm.7.mustache b/man/rcm.7.mustache
index 52b2187..25e4f5c 100644
--- a/man/rcm.7.mustache
+++ b/man/rcm.7.mustache
@@ -52,7 +52,7 @@ the directory only contains rc files; and these rc filenames do not
begin with a period. See the caveats below if this is not you.
.Bl -enum
.It
-Dryrun with
+Dry run with
.Xr lsrc 1 .
Look for anything unexpected in here, such as
.Pa ~/.install
@@ -68,10 +68,18 @@ This is likely to do nothing, since your dotfiles already exist.
.Pp
.Dl rcup -v
.It
-When necessary, add new rc files with
+When necessary, add new rc files to the dotfiles directory with
.Xr mkrc 1 .
.Pp
.Dl mkrc ~/.tigrc
+.Pp
+In the other direction, you can use
+.Xr rcup 1
+to create the symlinks from
+.Pa ~/.dotfiles
+to your home directory.
+.Pp
+.Dl rcup tigrc
.El
.Ss COMMON PROBLEM: EXISTING INSTALL SCRIPTS
Many existing dotfile directories have scripts named