2023-05-29 04:31:52 +00:00
|
|
|
# 🥫Environment-in-a-can
|
2021-05-08 14:42:53 +00:00
|
|
|
|
2023-05-29 04:31:52 +00:00
|
|
|
Environment tweaks for everyday happiness.
|
2021-05-08 14:42:53 +00:00
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
```bash
|
2023-05-29 04:31:52 +00:00
|
|
|
git clone git@github.com:mcataford/env.git <path-of-your-choosing> | . ./setup
|
2021-05-08 14:42:53 +00:00
|
|
|
```
|
|
|
|
|
2023-05-29 04:31:52 +00:00
|
|
|
The setup script will look for pre-existing managed blocks and will not update the file if one is found.
|
2021-05-08 14:42:53 +00:00
|
|
|
|
2023-05-29 04:31:52 +00:00
|
|
|
### Updating existing setups
|
|
|
|
|
|
|
|
Since the managed blocks only `source` the files in this repository, pulling in updates from remote should bring in any
|
|
|
|
new tweaks you want to apply. If changes are made to the managed blocks, you will need to first remove them from where
|
|
|
|
they live and rerun the setup script.
|
2022-11-04 17:37:25 +00:00
|
|
|
|
|
|
|
## Structure
|
|
|
|
|
|
|
|
The package is structured as such:
|
|
|
|
|
|
|
|
```
|
|
|
|
env/
|
|
|
|
setup # Adds bootstrap block to your shell's config file.
|
2023-05-29 04:31:52 +00:00
|
|
|
shell_extras # Functions, aliases and exports for the shell.
|
|
|
|
extras.vim # Common config for NVIM.
|
2022-11-04 17:37:25 +00:00
|
|
|
```
|
|
|
|
|
2023-05-29 04:31:52 +00:00
|
|
|
Adding code to `shell_extras` will add code that gets executed on shell-start.
|
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
|
|
|
I'm not currently looking for contributions since this is mainly about standardizing my own setup across machines.
|