diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-08-22 19:10:05 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-08-22 19:28:02 +0200 |
commit | 0eb9dda485b420127060e8ae3d897668804ff320 (patch) | |
tree | d90645ef4dc4edb0f82e57236ef84fbedaab57b7 /%HOME% | |
parent | branch_fixup_comitter_dates: an alias now (diff) | |
download | linux-home-0eb9dda485b420127060e8ae3d897668804ff320.tar.gz linux-home-0eb9dda485b420127060e8ae3d897668804ff320.zip |
.profile: fix on Linux Mint
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" ] \ |