This is an experimental bash prompt, with a few features:
- date/time, load average, and last command exit status info
- highlights when you are root, or on a remote machine
- git integration
- highlights files and commands which print no end-of-line nicely
It depends on having a few symbols from https://github.com/ryanoasis/nerd-fonts installed. It has also been built using the Solarized Light palette from http://ethanschoonover.com/solarized .
nonl
— file with no newline,cat
it to see behaviourcolourtable.sh
— displays combinations of fg/bg colourssource_me.sh
— shows the form ofPS1
needed to activate the prompt