Unify username to: lace
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 432ac97..a9c5ec8 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -17,11 +17,9 @@ if [ -f /etc/bashrc ];then source /etc/bashrc;fi
 
 function _bash_profile_addpath # <variablename>,<dirpathname>
 {
-       # FIXME: local OPTIND
-       # see also: <20041223083747.GA9955@kobhome.dyn.jankratochvil.net>
-       unset OPTIND
        local _varname _dirpathname _opt_f _opt_s
        _opt_f=0;_opt_s=0
+       unset OPTIND
        while getopts fs got;do
                case "$got" in
                        [fs]) eval "_opt_$got=1" ;;
@@ -144,6 +142,9 @@ uname_p="`uname -p`"; [ "$TERM" = vt220 -a "${uname_p%86}" != "$uname_p" ] && ex
 
 export SOCKS5_SERVER=icsocks.holland.sun.com
 
+# Force English.
+unset LANG LANGUAGE `set|sed -n 's/^\(LC_[^=]*\)=.*$/\1/p'`
+export LANG=en_US.UTF-8
 # Force strcoll() to sort case-sensitively! (empty/undef doesn't work)
 export LC_COLLATE=C
 
@@ -195,7 +196,7 @@ function revlines { perl -e 'my @r=();push @r,$_ while (<>);print pop @r while @
 ulimit -c 0
 set +H
 shopt -s mailwarn
-unset OPTIND   # FIXME; see also: <20041223083747.GA9955@kobhome.dyn.jankratochvil.net>
+unset OPTIND
 
 if [ -f "$HOME/.bashrc.local" ];then source "$HOME/.bashrc.local";fi