Customize Your Bash Prompt
Published on 06 March 2007
My bash customizations with .bashrc and .bash_profile files
Arul's bashrc customisations
export PS1='[33[31;1m[u@h][33[32;1mw[33[34;1m$ [33[0m' export PATH=/usr/local/bin:/usr/sbin:/usr/ucb/bin:/usr/local/sbin:$PATH export TERM=dtterm export EDITOR=emacs
Legend:
- PS1: sets the colourful prompt
- TERM: sets the terminal type (may be required f you want colours in emacs and vim)
Screenshot:

Created on 06 March 2007
Affiliate Disclosure: Some of the links to products on this blog are affiliate links. It simply means, at no additional cost to you, we’ll earn a commission if you click through and buy any product.