# Main bash configuration file. # Use UTF-8 encoding in the terminal. export LC_ALL=en_US.UTF-8 # Use Vim as editor. export EDITOR='vim' # Use Vi(m) style in bash. set -o vi # If a rc file for the current hostname (first part before a dot) exists load # it, otherwise load rc.local if available. host=$(echo $(hostname) | sed -e 's/\..*$//') if [ -f ~/.bash/rc.$host ]; then source ~/.bash/rc.$host elif [ -f ~/.bash/rc.local ]; then source ~/.bash/rc.local fi