Skip to main content

My Bash Terminal Setup

Append the following line in ~/.bashrc

#Add the following line to ~/.bashrc
export PS1="[\[$(tput sgr0)\]\[\033[38;5;11m\]\d\[$(tput sgr0)\] \[$(tput sgr0)\]\[\033[38;5;9m\]\A\[$(tput sgr0)\]] \[$(tput sgr0)\]\[\033[38;5;13m\]\u\[$(tput sgr0)\]@\[$(tput sgr0)\]\[\033[38;5;10m\]\h\[$(tput sgr0)\]:[\w]:\n\[$(tput sgr0)\]\[\033[38;5;14m\]\\$\[$(tput sgr0)\]"

The terminal should look like this now: