teoljungberg / rcm

rc file (dotfile) management

Home Page:http://thoughtbot.github.io/rcm/rcm.7.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rcm

This is a management suite for dotfiles. See the tutorial to get started quickly.

It assumes that you have a separate dotfiles directory, or are interested in creating one.

The programs provided are rcup(1), mkrc(1), rcdn(1), and lsrc(1). They are explained in the tutorial and configured using rcrc(5).

Installation

Alpine Linux: sudo apk add rcm

Arch Linux:

https://aur.archlinux.org/packages/rcm/

Debian-based:

wget -qO - https://apt.thoughtbot.com/thoughtbot.gpg.key | sudo apt-key add -
echo "deb https://apt.thoughtbot.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/thoughtbot.list
sudo apt-get update
sudo apt-get install rcm

Fedora 22, 23, 24, 25:

sudo dnf copr enable seeitcoming/rcm
sudo dnf install rcm

FreeBSD:

sudo pkg install rcm

Gentoo:

emerge app-admin/rcm

Korora:

64-bit Korora 23:

sudo dnf copr enable seeitcoming/rcm fedora-23-x86_64
sudo dnf install rcm

Korora is similar to Fedora but with an additional version and architecture specification. Replace fedora-23-x86_64 as appropriate.

macOS with Homebrew:

brew tap thoughtbot/formulae
brew install rcm

macOS with MacPorts:

port install rcm

OpenBSD:

doas pkg_add rcm

openSUSE/RHEL/CentOS: instructions

Ubuntu:

sudo add-apt-repository ppa:martin-frost/thoughtbot-rcm
sudo apt-get update
sudo apt-get install rcm

Void Linux:

sudo xbps-install -S rcm

Elsewhere:

This uses the standard GNU autotools, so it's the normal dance:

curl -LO https://thoughtbot.github.io/rcm/dist/rcm-1.3.1.tar.gz &&

sha=$(sha256 rcm-1.3.1.tar.gz | cut -f1 -d' ') &&
[ "$sha" = "9c8f92dba63ab9cb8a6b3d0ccf7ed8edf3f0fb388b044584d74778145fae7f8f" ] &&

tar -xvf rcm-1.3.1.tar.gz &&
cd rcm-1.3.1 &&

./configure &&
make &&
sudo make install

For more, see INSTALL.

Programs

  • rcup(1) is the main program. It is used to install and update dotfiles, with support for tags, host-specific files, and multiple source directories.
  • rcdn(1) is the opposite of rcup(1).
  • mkrc(1) is for introducing a dotfile into your dotfiles directory, with support for tags and multiple source directories.
  • lsrc(1) shows you all your dotfiles and where they would be symlinked to. It is used by rcup(1) but is provided for your own use, too.

Support

Pull requests welcome; see CONTRIBUTING.md.

License

Copyright 2013 Mike Burns. BSD license. Copyright 2014-2015 thoughtbot. BSD license.

About thoughtbot

thoughtbot

RCM is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.

We adore open source software. See our other projects. We are available for hire.

About

rc file (dotfile) management

http://thoughtbot.github.io/rcm/rcm.7.html

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Perl 57.3%Language:Shell 25.8%Language:Perl 6 8.8%Language:Makefile 4.1%Language:Ruby 2.8%Language:M4 1.2%