context-color
context-color copied to clipboard
:rainbow: To each context its own shell color
… with [bats](https://github.com/sstephenson/bats), maybe? Edit: bats now lives at https://github.com/bats-core/bats-core
Great script, it would be good for a --safe option or similar to make Root and all its text output RED. This maybe enforces red for danger when using root.
Add links to the project git repo in the readme and usage message
E.g. if you want to exclude grayscale: `context-color -e '0,15,232-255'`
On my MacBook M1, `context-color` adds a 13 ms overhead on top of `whoami; hostname` (16.5 ms vs. 3.2 ms, measured with `hyperfine`). While it's not too bad, lower is...