X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/2994c7a260d16f56b6d637476f8a15695587b173..b0d8acbe46c9b30dafd08db90bda828c2862afbd:/bash_profile diff --git a/bash_profile b/bash_profile index f0ca782..7523cfc 100644 --- a/bash_profile +++ b/bash_profile @@ -94,7 +94,7 @@ emacs_startup_args="--no-site-file --mdw-fast-startup -nw" for ed in \ "emacs22 $emacs_startup_args" \ "emacs21 $emacs_startup_args" \ - mg \ + zile mg \ "emacs -nw" \ vi pico nano ae; do name=`echo $ed | sed 's/ .*$//'` @@ -117,9 +117,14 @@ if [ "$DISPLAY" = "" ]; then else LC_CTYPE=`mdw-conf x-ctype` fi -unset LANG LC_ALL LC_COLLATE +unset LANG LC_ALL export LC_CTYPE +for lc in TIME NUMERIC MONETARY PAPER NAME ADDRESS TELEPHONE MEASUREMENT; do + eval "export LC_$lc=$LC_CTYPE" +done +export LC_COLLATE=POSIX + __mdw_programp distcc && export CCACHE_PREFIX=distcc export TEXINPUTS=".:$HOME/lib/tex//:" @@ -145,10 +150,11 @@ export PAGER=`type -p less` METAMAIL_PAGER=`type -p less` export LESS="-iqgRh1FX" export LESSOPEN="|lesspipe.sh %s" case "$LC_CTYPE" in - *utf8*) LESSCHARSET=utf-8 ;; + *utf8 | *utf-8 | *UTF8 | *UTF-8) LESSCHARSET=utf-8 ;; *) LESSCHARSET=latin1 ;; esac export LESSCHARSET +__mdw_programp global && export LESSGLOBALTAGS=global export NCURSES_NO_UTF8_ACS=1 # export MAKEFLAGS="-j4" [ "$TMPDIR" ] || eval `tmpdir -b`