Print a solid colored bar across your terminal. A visual scrollback marker for telling apart sessions, runs, or moments where one program ends and another begins.
Drop bin/hr anywhere on your PATH:
git clone https://github.com/ankurokok/hr.git
ln -s "$(pwd)/hr/bin/hr" ~/.local/bin/hr # or copy it; works the sameRequires bash 3.2+ (macOS default) and a terminal that supports ANSI color.
hr # red bar with timestamp on the right
hr started build # left-aligned message
hr -c blue running tests # change color
hr --color yellow heads up # text auto-darkens for legibilityColors: black red green yellow blue magenta cyan white (default red). Quotes around the message aren't required.
bash tests/test_hr.shMIT — see LICENSE.