``
d8888b. d88888b. 8888888b 8888b d8888
88
8D 88 8D 88' 88'YbdP
88
88oobY' 88 88 88ooo 88 88 88
888b 88 88 88 88 88
88
88. 88 .8D 88 88 88
d88b d88 Y88888D' d88b d88b d88b
The Rusty DotFiles Manager.
Copyleft (ɔ) 2021, Wafelack
```
RDFM is the Rusty DotFiles Manager, based on a homemade linking system and configured by a simple file ; it is intended for everyone who needs an easy and reliable way to manage and share dotfiles.
XDG_CONFIG_HOME
support.cargo install rdfm
bruh install rdfm
In this guide, the $FOLDER
variable will refer to your $XDG_CONFIG_HOME
folder if it is set, or $HOME
if it is not.
RDFM can be set up with the command rdfm setup
, that will create a $FOLDER/.dotfiles/
directory and a $FOLDER/.dotfiles/dotfiles.rdfm
file.
You can add dotfiles to the $FOLDER/.dotfiles/dotfiles.rdfm
file with the rdfm add $src $dest
command
that can be used as following:
``bash
$ rdfm add ~/.vim/ vim/.vim
Successfully added
/home/wafelack/.vim/to dotfiles as
vim/.vim`
$ cat ~/.dotfiles/dotfiles.rdfm
/home/wafelack/.vim/->/home/wafelack/.dotfiles/vim/.vim $ ```
To remove dotfiles from $FOLDER/.dotfiles/dotfiles.rdfm
, you can use the rdfm remove $pattern
command
that will remove every line containing one or more occurences of $pattern
.
To proceed linking and copy your dotfiles to the $FOLDER/.dotfiles
folder, you'll use the rdfm proceed
command.
To pull dotfiles from an external repo, you can use rdfm pull $repo
as following:
bash
$ rdfm pull https://github.com/wafelack/dotfiles
Successfully pulled `https://github.com/wafelack/dotfiles` into `~/.dotfiles`
$
cargo fmt
.RDFM is distributed under the GNU Affero General Public License version 3.0 (AGPL-3.0) as described in the LICENSE file.
git clone git@github.com:Wafelack/rdfm.git
.cd
in rdfm/
and run cargo build --release
.