Change your [SSH/PS1] Shell Prompt

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:

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)\]"

Leave a Reply

Your email address will not be published. Required fields are marked *