Last active
September 28, 2020 09:21
-
-
Save GrumpyChunks/d3e939806b8c730b51ddd8b723f99786 to your computer and use it in GitHub Desktop.
This line should be added to .bashrc to give a nice colour bash prompt with three distinct sections. Each section uses a different background colour, and when used with the 'Hack Nerd Regular' font (sudo apt install fonts-hack-ttf), there are nice transitions between the background colours.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS1="\[\033[0;37m\]\[\033[44m\] \u \[\033[0;34m\]\[\033[43m\]\[\033[1;30m\] \h \[\033[0;33m\]\[\033[42m\]\[\033[0;37m\]\[\033[42m\] \w \[\033[0m\]\[\033[0;32m\] \[\033[0m\]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment