This project is developed test-first.
- Write or update a Bats test for the behavior you want.
- Run the test and confirm it fails for the expected reason.
- Implement the smallest change that makes the test pass.
- Run the full test suite.
- Refactor only while tests are green.
Install bats-core, then run:
bats testTests must not read from or write to a real user home directory. Use temporary HOME, XDG_CONFIG_HOME, and PATH values.
- Keep the script zsh-only until multi-shell support is explicitly added.
- Prefer small functions with stable, testable behavior.
- Do not add machine-local config or secrets.
- Do not overwrite existing user files without an explicit safety mechanism.