Skip to content
/ rc Public

A config file management utility

License

Notifications You must be signed in to change notification settings

typable/rc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rc

A config file management utility

"rc" is a tool which allows you to manage your config files without the hassle of remembering the location of all your files.

Installation

The "rc" tool can be installed directly via the cargo CLI.

cargo install --git https://github.com/typable/rc

The tool can be updated by adding the --force flag to the install command.

Usage

After adding your config files to the "rc" configuration, you can now access them by typing "rc" and the name of the program.

rc <program>
  • With the command rc -l you can list all config files.
  • In order to get the path of a specific config file you can use the command rc -p <program>.

Configuration

Use the command rc rc to edit the "rc" configuration file.

The config file contains all programs with the corresponding configuration paths.
In addition, the default editor for editing the configuration files can be specified.

Here is an example configuration:

editor = "vim"

[programs]
"rc" = "$HOME/.config/rc/config.toml"
"env" = "$HOME/.envrc"
"hx" = "$HOME/.config/helix/config.toml"
"hx.lang" = "$HOME/.config/helix/languages.toml"

About

A config file management utility

Topics

Resources

License

Stars

Watchers

Forks

Languages