# /etc/bashrc
# for version 2.X

if [ -z "$LANG" ]; then
        . /etc/profile
fi

# System wide functions and aliases
# Environment stuff goes in /etc/profile

# For some unknown reason bash refuses to inherit
# PS1 in some circumstances that I can't figure out.
# Putting PS1 here ensures that it gets loaded every time.
PS1="[\u@\h \W]\\$ "

alias which="type -path"

# 8bit through
if [ "$LANG" = "ja_JP.ujis" ] ; then
    bind 'set convert-meta off'
    bind 'set meta-flag on'
    bind 'set output-meta on'
fi

# useful features
shopt -s cdspell
shopt -s hostcomplete
