Add script to update package manager defs and packages

This commit is contained in:
david
2025-01-26 21:46:58 -06:00
parent 554a371a6d
commit f7dc1be911
5 changed files with 32 additions and 7 deletions

View File

@@ -1,17 +1,18 @@
# repo containing configs and scripts to set up a box
### prerequisites
- git is installed (to clone repo below, consider adding logic to handle automatically)
- when running on a fresh system, ensure package manager is configured
- i.e. source repos, mirrors, etc. are configured
- if on macOS, have to first install the package manager, [homebrew](https://brew.sh/)
- zsh is installed (scripts are written for zsh)
- ensure ZDOTDIR is set in a persistent way for system (not just setup scripts)
- current approach: add `export ZDOTDIR="$HOME/.config/zsh"` to `/etc/zshenv`
- export the env var `BOX_SETUP_OS` to indicate the operating system
- options defined in `set_env_vars` file
- if on macOS, install [homebrew](https://brew.sh/)
- options defined in `set_script_env_vars` file
- ensure sudo access is configured for the current user (2025-01-27, not needed on macos)
### script run
- git clone this repo
- git clone this repo (TODO: consider adding logic to handle automatically)
- from the repo's root directory, run `./box_setup`
### todo items