diff options
Diffstat (limited to '')
-rw-r--r-- | %HOME%/.profile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/%HOME%/.profile b/%HOME%/.profile index f107b3f..0673f0d 100644 --- a/%HOME%/.profile +++ b/%HOME%/.profile @@ -1,4 +1,8 @@ -LANG="$( locale --no-unicode --utf )" && export LANG +# This $LANG stuff I inherited from Cygwin, so I'm preserving it for now. +# Although it's broken on Ubuntu and such. +[ -z "${LANG+x}" ] \ + && LANG="$( locale --no-unicode --utf )" \ + && export LANG [ -n "${BASH_VERSION+x}" ] \ && [ -r "$HOME/.bashrc" ] \ |