rrcm

Rust RC file Management commands.

Introduction

Provides the location of these directories by leveraging the mechanisms defined by - the XDG base directory specifications on Linux and macOS - the Known Folder API on Windows

dotfiles ├── rrcm.toml Deploy setting file. ├── home │ ├── .profile -> $HOME/.profile(Unix) │ │ %PROFILE%\.profile(Win) │  └── ... ├── config │   ├── nushell -> $HOME/.config/nushell(Unix), │ │ %PROFILE%\AppData\Roaming\nushell(Win) │  └── ... └── config_local    ├── nvim -> $HOME/.config/nvim(Unix), │ %PROFILE%\AppData\Local\nvim(Win)  └── ...

Installation

sh cargo install rrcm

Init Configuration

sh git clone <your dotfiles repo> rrcm init <your dotfiles repo>

Default setting ```toml

deploy path for dotfiles/home

[deploy.home] windows = '%USERPROFILE%' mac = '${HOME}' linux = '${HOME}'

deploy path for dotfiles/config

[deploy.config] windows = '%FOLDERIDRoamingAppData%' mac = '${XDGCONFIGHOME}' linux = '${XDGCONFIG_HOME}'

deploy path for dotfiles/config_local

[deploy.configlocal] windows = '%FOLDERIDLocalAppData%' mac = '${XDGCONFIGHOME}' linux = '${XDGCONFIGHOME}'

you can define more directories

```

Deploy files

```sh

deploy under dtifles/config

rrcm deploy /config/* rrcm deploy /home/* ... ```