Bloggings

Back

Bash prompt without scripts

2025-05-06

A pretty prompt in one line of my .bashrc

I tried several bash prompt scripts but returned to just having a single line in my .bashrc

export PS1='\[\e[30;102m\] \A \[\e[92;103m\]\[\e[30m\] \u@\h \[\e[93;107m\]\[\e[30m\] \w \[\e[0;97m\]\n\[\e[0m\]\$ '

This site is a great generator

I used the base 16 colour palette so that it ends up displayed using the Pywal16 terminal palette.

 


§