1MKRC(1) BSD General Commands Manual MKRC(1)
2
4 mkrc — bless files into a dotfile managed by rcm
5
7 mkrc [-ChoqSsVvUu] [-t tag] [-d dir] [-B hostname] files ...
8
10 This program adds files to your dotfiles directory then installs it back
11 into your home directory. It can install files under a tag or different
12 source directory. It supports these options:
13
14 -B HOSTNAME
15 use the supplied hostname instead of computing one. Implies -o.
16
17 -C copy instead of symlinking when installing the rc file back into
18 your home directory
19
20 -d DIR install dotfiles under the specified directory. This can be spec‐
21 ified multiple times.
22
23 -h show usage instructions.
24
25 -o install dotfiles into the host-specific directory
26
27 -q decrease verbosity
28
29 -S treat the specified rc files as files to be symlinked, even if
30 they are directories
31
32 -s if the rc file is a file, symlink it; otherwise, make a directory
33 structure as described in rcup(1) in the section ALGORITHM. This
34 is the default.
35
36 -t TAG install dotfiles according to tag
37
38 -U the specified files or directories are to be installed without a
39 leading dot.
40
41 -u the specified files or directories are to be installed with a
42 leading dot. This is the default.
43
44 -v increase verbosity. This can be repeated for extra verbosity.
45
46 -V show the version number.
47
49 RCRC User configuration file. Defaults to ~/.rcrc.
50
52 ~/.dotfiles ~/.rcrc
53
55 mkrc ~/.vimrc
56 mkrc -t zsh -d company-dotfiles ~/.zshrc ~/.zlogin
57 mkrc -o ~/.rcrc
58 mkrc -C .ssh
59 mkrc -S .zpretzo
60 mkrc -U bin
61
63 lsrc(1), rcdn(1), rcup(1), rcrc(5), rcm(7)
64
66 mkrc is maintained by Mike Burns <mburns@thoughtbot.com> and thoughtbot:
67 http://thoughtbot.se
68
69BSD July 28, 2013 BSD