export EDITOR='vim'
# Use Vi(m) style in bash.
set -o vi
+
+
+# If a rc.local file exists load it, otherwise load a rc file for the current
+# hostname (first part before a dot) if it exists.
+host=$(echo $(hostname) | sed -e 's/\..*$//')
+if [ -f ~/.bash/rc.local ]; then
+ source ~/.bash/rc.local
+elif [ -f ~/.bash/rc.$host ]; then
+ source ~/.bash/rc.$host
+fi
--- /dev/null
+# Bash configuration file.
+
+
+# Path to my unix directory which contains useful scripts and configuration
+# files.
+MYUNIX=$HOME/Documents/unix
+
+# Default settings for PATH on Mac OS X.
+export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
+# Add MacPorts and my unix directory to PATH.
+export PATH=$MYUNIX/bin:/opt/local/bin:/opt/local/sbin:$PATH
+
+# Unset the MANPATH so the value of $PATH is used to search for man pages.
+unset MANPATH