New Bash Prompt on My Trisquel 8 “Flidas”

Bismillahirrahmanirrahim.

My new bash prompt on Trisquel. Thanks to bashrcgenerator.com. The default prompt on default Flidas bash is too plain and not distinctive so I need to color it.

The PS1 code is here:

export PS1=”\[$(tput bold)\]\[\033[38;5;2m\]\u\[$(tput sgr0)\]\[\033[38;5;1m\]@\[$(tput sgr0)\]\[\033[38;5;10m\]\h\[$(tput sgr0)\]\[$(tput sgr0)\]\[\033[38;5;15m\]:[\w] \d \t> \\$\n\[$(tput sgr0)\]”
You can use this code for anything at anytime anywhere.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s