docs: update notes on steps

This commit is contained in:
Marc 2024-01-28 11:01:36 -05:00
parent 1abade9e53
commit eff28920e8
Signed by: marc
GPG key ID: 048E042F22B5DC79

View file

@ -23,12 +23,19 @@ The package is structured as such:
``` ```
env/ env/
bootstrap.sh # Adds bootstrap block to your shell's config file. bootstrap.sh # Adds bootstrap block to your shell's config file.
steps.sh # Definitions for bootstrapping steps
shell_extras # Functions, aliases and exports for the shell. shell_extras # Functions, aliases and exports for the shell.
extras.vim # Common config for NVIM. extras.vim # Common config for NVIM.
``` ```
Adding code to `shell_extras` will add code that gets executed on shell-start. Adding code to `shell_extras` will add code that gets executed on shell-start.
### Adding steps
Each step is defined as a function in `steps.sh` and should start with a call to `pre_step` to ensure that a header gets
echo'ed out. Additionally, the function should be called from `bootstrap` in `bootstrap.sh` and the `TOTAL_STEPS` should
be updated to reflect the number of steps.
## Contributing ## Contributing
I'm not currently looking for contributions since this is mainly about standardizing my own setup across machines. I'm not currently looking for contributions since this is mainly about standardizing my own setup across machines.