summaryrefslogtreecommitdiff
path: root/man/man1/mkrc.1
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2013-07-08 17:08:50 +0200
committerGravatar Mike Burns <mike@mike-burns.com>2013-07-09 21:24:19 +0200
commitf126c5cfcd68e28720cc5cd2d368734d89a5875e (patch)
tree52a11f057023ef8204e0e83752a07303325e3634 /man/man1/mkrc.1
parent2e2573fbe07d8a1750ccdda7e0a146fef55fd50d (diff)
Support multiple source directories
The `rcup` and `mkrc` commands now support multiple source directories. This is useful for sharing dotfiles between friends, spliting dotfiles into private and public ones, or other such situations. In `mkrc` this support means that you can specify the destination directory for your dotfile, either from the command-line or from you `~/.rcrc` configuration. In `rcup` this means that it will recur through all source directories, in order, creating the symlinks as needed. This means that duplicated files will not be overridden. The order can be specified by the `-d` option, which can be repeated, or by the `DOTFILES_DIRS` option in your `~/.rcrc` configuration. The `-d` option overrides the configuration. For example, this configuration file will update from the two directories in order: DOTFILES_DIRS="/home/mike/.dotfiles/public /home/mike/.dotfiles/private" Any source directories that don't exist are skipped.
Diffstat (limited to 'man/man1/mkrc.1')
-rw-r--r--man/man1/mkrc.110
1 files changed, 8 insertions, 2 deletions
diff --git a/man/man1/mkrc.1 b/man/man1/mkrc.1
index 37a25b9..b241e6b 100644
--- a/man/man1/mkrc.1
+++ b/man/man1/mkrc.1
@@ -4,12 +4,13 @@
mkrc \- bless files into a dotfile
.SH SYNOPSIS
-.B mkrc [-v] [-q] [-t \fItag\fR] \fIfiles...\fR
+.B mkrc [-v] [-q] [-t \fItag\fR] [-d \fIdir\fR] \fIfiles...\fR
.SH DESCRIPTION
This program adds files to your dotfiles directory then installs it
-back into your home directory. It can install files under a tag.
+back into your home directory. It can install files under a tag or
+different source directory.
It supports these options:
@@ -25,6 +26,11 @@ decrease verbosity
\fB-t\fR \fITAG\fR
install dotfiles according to tag
+.TP
+\fB-d\fR \fIDIR\fR
+install dotfiles under the specified directory. This can be specified
+multiple times.
+
.SH AUTHOR
Written by Mike Burns.