bash_profile: Slightly more intelligent locale handling.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 Mar 2009 16:30:29 +0000 (16:30 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 26 Mar 2009 16:50:42 +0000 (16:50 +0000)
commit703b345db47db286d852a77fe91a1000151e86b6
tree452e5d75780c4aa6f24a1e697016d391534f3ea4
parent2d18398ae92f3da8ef49fe8e376ff5cdab53608a
bash_profile: Slightly more intelligent locale handling.

First of all, set LANG and LC_COLLATE and leave the rest alone.  LANG
defaults most of the other variables, and forcing LC_COLLATE=POSIX fixes
the stupidity of ls(1) ordering things case-insensitively.

Secondly, if there's no DISPLAY, and TERM is `linux', prod vt-is-UTF8(1)
to find out which locale to use.
bash_profile