Customize Your Bash Prompt

Published March 06, 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:

.bashrc .bash_profile aruljohn.com

Related Posts

If you have any questions, please contact me at arulbOsutkNiqlzziyties@gNqmaizl.bkcom. You can also post questions in our Facebook group. Thank you.

Disclaimer: Our website is supported by our users. We sometimes earn affiliate links when you click through the affiliate links on our website.

Last Updated: March 06, 2007.     This post was originally written on March 06, 2007.