# Evan McNabb's .bashrc evan@mcnabbs.org # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi export PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.2/:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/local/kde/bin:/opt/blackdown-jdk-1.3.1/bin:/usr/kde/3/bin:/opt/Acrobat5:/opt/vmware/bin:/usr/lib/portage/bin" export CLASSPATH="/opt/jakarta/tomcat/common/lib/servlet.jar:/opt/sun-j2ee-1.3.1/lib/j2ee.jar:/home/emcnabb/postgresql.jar:." # This my old PS1 variable; for some reason it had line wrapping problems #export PS1='[ \e[31m\u@\h:\e[34m\w \e[m] ' # This one works now, although I don't understand it completely export PS1='\[\033[01; \[\033[31m\]\u@\h:\[\033[ \[\033[34m\]\w \[\033[00m\]] ' # I have to do this on my laptop so 3d rendering works export MESA_FORCE_SSE=1 ######################################################## # Aliases alias from='tail -f ~emcnabb/.maillog' alias nautilus='nautilus --no-desktop --disable-sm' alias ls='ls --color' alias xmms='sudo /usr/bin/xmms' alias temp='cd $HOME/tmp' #Go to tmp directory # LUFS Stuff alias mountblinky='lufsmount sshfs://emcnabb@mcnabbs.org:~emcnabb /mnt/blinkydir' alias ytalk='ytalk -x' mesg y ######################################################## export RSYNC_RSH=ssh export CVS_RSH=ssh #export CVSROOT=$HOME/cvsroot export CVSROOT=emcnabb@cvs:/admincvs #export CVSROOT=emcnabb@cvs.sourceforge.net:/cvsroot/airfart ######################################################## # Misc Options # tab completion rocks the house [ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion # give me ls colors baby! eval `dircolors -b /etc/DIR_COLORS` # Auto-logoff after 600 seconds (good for root accounts) #export TMOUT=600 # Turn off annonying terminal bell #set bell-style none # Use VIM bindings set -o vi export EDITOR=vim # Used for mutt to make it pretty export COLORFGBG="default;default" # Send output to /dev/null fetchmail > /dev/null 2>&1 ######################################################## # Gentoo Stuff ######################################################## # Set ulimits # Core files will be no larger than 10 MB #ulimit -c 10000000 # Or no core files at all ulimit -S -c 0 > /dev/null 2>&1 # No more than 150 MB of swap space will be used - Keeps # computer from crashing with memory intensive programs ulimit -v 150000000 ######################################################## # Set to default backspace / delete stty ek