PS1 customizing prompt.

commandline session

jeffrin@debian:~$ PS1=" $ s # "
 $ bash 2 PS1=" $ V # "
 $ 4.2.20 3 PS1=" $ V # ! "
 $ 4.2.20 4 341 PS1="[ 33[0;41m]$[ 33[0m] "
$
$ ARCH
bash: ARCH: command not found
$ arch
x86_64
$ PS1="[ 33[0;41m]$[ 33[0m] "
$ PS1=" $ V # ! "
 $ 4.2.20 9 346 arch
x86_64
 $ 4.2.20 10 347 PS1="[ 33[0;31m] $ V # ! "
 $ 4.2.20 11 348

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s