I was doing some work in a server and got lost in the SSH shell I had open. After some googling I found a bashrc generator. All you do Is drag and drop what you want your shell to look like, no. 3 on the right, and then copy generated output to your command line. Easy.
I’m currently rocking their second example:
user5@the-docker-hosts:[~/docker-dev-setup]:$
My generated .bashrc:
export PS1="\[\033[38;5;11m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\h:\[$(tput sgr0)\]\[\033[38;5;6m\][\w]:\[$(tput sgr0)\]\[\033[38;5;15m\]\\$ \[$(tput sgr0)\]"