# .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions export HISTSIZE=4000 export HISTFILE=$HOME/.history export EDITOR=vi export PATH=$PATH:/usr/local/bin alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' alias c='clear' alias l='ls -a' alias la='ls -la' alias lf='ls -Fx' alias lt='ls -lart' alias dir='ls -Fx' alias xman='xman -notopbox -bothshown' alias e='xterm -bg white -fg black -e vim + $1 ' rd='\033[31m' #Red gn='\033[32m' #Green yw='\033[33m' #Yellow be='\033[34m' #Blue ma='\033[35m' #Magenta pe='\033[35m' #Purple cn='\033[36m' #Cyan we='\033[37m' #White dy='\033[30m' #Darkgrey nl='\033[0m' #Normal bd='\033[1m' #bold ue='\033[4m' #underline bk='\033[5m' #blink rv='\033[7m' #reverse cls='\033[40m\033[2J' # Clear the screen and set background to black echo -e "${bd}${rd}" cal echo -e "${nl}" export DISPLAY=`who am i | awk '{print $6}' | tr -d "()"`:0.0 printf "\n\t${bd}Display set to ${nl}${yw}${DISPLAY}" printf "\n\t${gn}" date '+%A, %B %d' printf "\n\n${nl}" export PS1=`hostname`'\033[7m[$PWD]\033[0m > '