# /etc/bashrc

# 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"

#if [ -x /usr/X11R6/bin/XF86Setup ]; then
#    alias XF86Setup="export LANG; LANG=ja_JP.ujis XF86Setup"
#fi

#if [ "$TERM" = "linux" ]; then
#    unset LANG
#    unset LANGUAGE
#fi

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