.bashrc
changeset 182 af9e9693646e
parent 181 11880eae9332
child 193 2e4cebaae3cc
equal deleted inserted replaced
181:11880eae9332 182:af9e9693646e
    10 # XXX vim and gnome-terminal have support for 256 colours in fedora 8 at least
    10 # XXX vim and gnome-terminal have support for 256 colours in fedora 8 at least
    11 # Note debian/ubuntu users should install the ncurses-term package to support this
    11 # Note debian/ubuntu users should install the ncurses-term package to support this
    12 # export TERM=xterm-256color
    12 # export TERM=xterm-256color
    13 
    13 
    14 PS1='bash# '
    14 PS1='bash# '
       
    15 # Set magenta bold font.
       
    16 case "$TERM" in
       
    17   xterm*) PS1='\[\033[35m\033[1m\]bash# \[\033[0m\]'
       
    18   ;;
       
    19 esac
    15 
    20 
    16 # Easy cd to often used dirs.
    21 # Easy cd to often used dirs.
    17 CDPATH=.:~:~/devel:~/devel/my-devel
    22 CDPATH=.:~:~/devel:~/devel/my-devel
    18 
    23 
    19 # Don't store duplicate adjacent items in the history.
    24 # Don't store duplicate adjacent items in the history.