Easily manage what will be loaded in your shell environment
Clone project and source hearth.sh in .*rc, e.g. .bashrc file.
Functionality is divided in
- env
- paths
- aliases
- functions
For each functionality we have a folder with configurable scripts and a file that will always be loaded.
For example for env we have the env.d directory and env.sh script.
Each *.d directory has three sub-folders
- available
- secret
- enabled
Every symbolic link in enabled directory will be sourced on start up. In available we have recipes that will be committed to repository. In secret you can add anything that must be excluded from the repository like tokens.
Command Line Application to manage your hearth installation. No configuration needed, it's automatically loaded to your path.
Open hearth folder in your $EDITOR for editing.
estia edit
List all recipes, available and enabled.
estia list
Create a new recipe
estia create|create-secret <type> <filename>
Example creating a new environmental variable script.
estia create env env-var.sh
or
Example creating a new environmental variable script.
estia create-secret env env-var.sh
Enable a recipe
estia enable <type> <filename>
Example enabling an environmental variable script.
estia enable env env-var.sh
Disable a recipe
estia disable <type> <filename>
Example disabling an environmental variable script.
estia disable env env-var.sh