Bashrc customization

From D3xt3r01.tk
Revision as of 22:06, 24 November 2009 by Admin (talk | contribs) (New page: ==WHY== Because I had too many consoles looking the same way and it was rather hard to identify who is who at first look. ==HOW== Depending on your distro ( Gentoo has /etc/bash/bashrc ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

WHY

Because I had too many consoles looking the same way and it was rather hard to identify who is who at first look.

HOW

Depending on your distro ( Gentoo has /etc/bash/bashrc , Fedora has /etc/bashrc )

I like to put this:

PS1="\[\e[37;1m\][\[\e[31;1m\]`date +%H`\[\e[37;1m\]:\[\e[31;1m\]`date +%M`\[\e[37;1m\]]\[\e[33;1m\]\u\[\e[37;1m\]@\[\e[34;1m\]BACKGW \[\e[35;1m\]\w\[\e[37;1m\] > \[\e[0m\]"

For both UID 0 and others. [[Category: Bash