Skip to main content

My Bash Terminal Setup

Append the following line in ~/.bashrc

#Use echo to append the following line to ~/.bashrc
echo '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)\]"' >> ~/.bashrc

The terminal should look like this now:

Screenshot 2022-11-02 000424.png