rrcm
Rust RC file Management commands.
Introduction
- Deploy configuration files and directories using symbolic links.
- Provides deployment on multiple OS from the same directory.
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
Init Configuration
Default setting
# deploy path for dotfiles/home
[]
= '%USERPROFILE%'
= '${HOME}'
= '${HOME}'
# deploy path for dotfiles/config
[]
= '%FOLDERID_RoamingAppData%'
= '${XDG_CONFIG_HOME}'
= '${XDG_CONFIG_HOME}'
# deploy path for dotfiles/config_local
[]
= '%FOLDERID_LocalAppData%'
= '${XDG_CONFIG_HOME}'
= '${XDG_CONFIG_HOME}'
# you can define more directories
Deploy files
# deploy under dtifles/config