~ primitiveworker /.bashrc

# load up fink paths if the system has fink on it
if [ -e /sw/bin/init.sh ] ; then
  . /sw/bin/init.sh
fi

# prepend macports to the path
if [ -e /opt/local/bin ] ; then
  export PATH=/opt/local/bin:/opt/local/sbin:$PATH
fi

# prepend /usr/local paths if anything is installed there
if [ -e /usr/local ] ; then
  export PATH=/usr/local/bin:$PATH
  export MANPATH=/usr/local/share/man:$MANPATH
  export INFOPATH=/usr/local/share/info:$INFOPATH
fi

# prepend $HOME/bin to the path if it exists
if [ -e $HOME/bin ] ; then
  export PATH=$HOME/bin:$PATH
fi

# prettify ls
export CLICOLOR=1

# vim vim vim
export EDITOR=`which vim`

# less is more
export PAGER=`which less`

# etc
if [ -s $HOME/.alias ] ; then
  . $HOME/.alias
fi

# nice prompt
export PS1="[\u@\h:\w] "

# vi-like behavior for bash
set -o vi