653 B
653 B
Contributing
Thanks for helping improve ps1-craft. Keep changes small, readable, and fast.
Style rules
- Keep the prompt hot path fast (no external commands unless feature-gated).
- Use
printfoverechofor formatting. - Quote variables and paths; avoid word-splitting.
- Maintain bash 3.2 compatibility for macOS.
Add a new theme or palette
- Update
dotfiles/ps1/ps1.shwith the new colors/icons. - Add a screenshot under
images/themes/. - Document it in
library.mdandREADME.md.
Testing
- Run the installer script you changed.
- Open a new shell and verify the prompt renders.
- Run ShellCheck on
dotfiles/**/*.sh.