3 # Source global definitions
4 if [ -f /etc/bashrc ]; then
8 if [ -f ~/.bashrc-local ]; then
13 ps aux | grep -v grep | grep xscreensaver > /dev/null
15 echo "starting xscreensaver..."
18 until xscreensaver-command -lock; do
26 ls --color /tmp &>/dev/null && alias ls='ls --color=auto'
29 alias wget='wget --user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"'
30 alias grep='grep --color=tty -d skip'
31 alias bterm='xterm -fn "-adobe-courier-bold-r-normal--34-240-100-100-m-200-iso8859-1" -geometry 60x30-50-50'
32 alias mplayer="mplayer -fs -ac a52,"
33 export PATH="${PATH}:${HOME}/cmccabe-bin"
34 [ -d "${HOME}/cmccabe-hbin" ] && export PATH="${PATH}:${HOME}/cmccabe-hbin"
35 export EDITOR="/usr/bin/vim"
36 export CSCOPE_EDITOR="${EDITOR}"
39 # non-interactive shell
43 # Perturb malloc so that we spot bugs quicker!
44 export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
46 # Do not add lines that begin with a space to the history
47 export HISTIGNORE="[ ]*"
49 # Append history list of current session to HISTFILE