Git
27 Nov 2023
Manually customize bash terminal prompt look
The prompt text that bash interprets and uses is set with the PS1
environment variable and is usually specified in ~/.bashrc
. I have been manually tweaking my bash prompt look and feel to make some of my work project use-case tasks easier. The combination of default style changes, and specific prompt elements added for active environment or sourced environments should make terminal-based project management a little easier.
A little searching allowed me to discover this website that allows you to interactively customize the prompt contents and style with common components. https://bash-prompt-generator.org/