MKRC(1)

πŸ“¦
version 1.3.6 Β· 2 versions
, in alpine 3.24, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu stonking

πŸ’– MKRC(1) πŸ’–

okay so bestie, welcome to mkrc β€” the General Commands Manual girlie who is about to change your dotfiles life. she's the one who blesses your files into a dotfiles directory managed by rcm. πŸŽ€


✨ NAME ✨

mkrc β€” bless files into a dotfiles managed by rcm πŸ¦‹


🌸 SYNOPSIS 🌸

mkrc [-ChoqSsVvUukK] [-t tag] [-d dir] [-B hostname] files ...

πŸ’… DESCRIPTION πŸ’…

so basically this program adds files to your dotfiles directory and then updates them back into your home directory. iconic behaviour honestly. it can also install files under a tag, or install them in a different source directory. ✨

🫢 real talk though: first create your standard rc files, then use mkrc on them. do not skip this step, bestie, it's the whole vibe.

it supports these options:

  • -B HOSTNAME β€” use the hostname you supply instead of computing one. this implies -o. πŸ’«
  • -C β€” copy instead of symlinking when installing the rc file back into your home directory. heads up though: this will prevent future updates in the dotfiles directory for the added element, and its contents if it's a directory. so like… it's a commitment, no cap. πŸ’€
  • -d DIR β€” install dotfiles under the specified directory. use it only once, to override the DOTFILES_DIRS value from RCRC and the absolute default value.
  • -h β€” show usage instructions. the little help menu moment. πŸ™ˆ
  • -o β€” install dotfiles into the host-specific directory. main character energy, just for this machine. πŸ‘‘
  • -q β€” decrease verbosity. shhh. 🀫
  • -S β€” treat the specified rc files as files to be symlinked, even if they are directories. no directory-structure nonsense, just vibes. 🌈
  • -s β€” if the rc file is a file, symlink it; otherwise, make a directory structure as described in rcup(1) in the section β€œALGORITHM”. this is the default. ⭐
  • -t TAG β€” install dotfiles according to tag. 🏷️
  • -U β€” the specified files or directories are to be installed without a leading dot.
  • -u β€” the specified files or directories are to be installed with a leading dot. this is the default. πŸ’–
  • -v β€” increase verbosity. you can repeat it for extra verbosity, like a little volume knob that goes to eleven. πŸ”₯
  • -V β€” show the version number. ✨
  • -k β€” pass -k to rcup when installing the made rc file. this option enables pre- and post-hooks, which is the default, making this effectively a no-op. so yeah, it's giving "option that does nothing" but we still love her. πŸ’… see the β€œALGORITHM” section in rcup(1).
  • -K β€” pass -K to rcup when installing the made rc file. this option prevents pre- and post-up hooks from running as part of creating the rc file. see the β€œALGORITHM” section in rcup(1). 🚫

🌱 ENVIRONMENT 🌱

  • RCRC β€” user configuration file. defaults to ~/.rcrc. πŸ’œ

πŸ“ FILES πŸ“

~/.dotfiles ~/.rcrc

πŸŽ€ EXAMPLES πŸŽ€

the way these examples just ate:

mkrc ~/.vimrc
mkrc -t zsh -d company-dotfiles ~/.zshrc ~/.zlogin
mkrc -o ~/.rcrc
mkrc -C .ssh
mkrc -S .zpretzo
mkrc -U bin

πŸ‘€ SEE ALSO πŸ‘€

lsrc(1), rcdn(1), rcup(1), rcrc(5), rcm(7)


πŸ’– AUTHORS πŸ’–

mkrc is maintained by Mike Burns <mburns@thoughtbot.com> and thoughtbot: http://thoughtbot.com 🫢✨


and that's the whole page, bestie β€” no notes, periodt. πŸ’… this lil Debian build of the manual is dated April 13, 2020, and yeah, she's still serving. πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from