# Aliases and functions alias ls="ls -X --color" alias data="cd ~/data" alias ~="cd ~" alias del="rm -ri" # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi export PATH=$PATH:/usr/kde3/bin # prompt conf # Attribute codes: # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed # Text color codes: # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white # Background color codes: # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white GRNBLD='\[\033[01;32;49m\]' GRNBLK='\[\033[00;32;49m\]' BLKGRN='\[\033[01;30;42m\]' BLUBLD='\[\033[01;36;49m\]' BLUBLK='\[\033[00;36;49m\]' BLKBLU='\[\033[01;30;46m\]' PS1=$BLKBLU' \h '$BLUBLK' \d '$BLUBLD' \t \n'$BLUBLK'\w/' PS2=$BLUBLK' ># ' # PS1=$BLKGRN' \h '$GRNBLK' \d '$GRNBLD' \t \n'$GRNBLK'\w/' # PS2=$GRNBLK' ># ' #if test "$PS1" ; then # HISTDIR=${HOME}/.history # HISTFILE=${HISTDIR}/$(/bin/echo #${LOGNAME}-$(/usr/bin/tty)-$(/bin/date -Iseconds) # unset HISTSIZE HISTIGNORE HISTCONTROL HISTFILESIZE # touch $HISTFILE #fi