aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-08-22 19:10:05 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2017-08-22 19:28:02 +0200
commit0eb9dda485b420127060e8ae3d897668804ff320 (patch)
treed90645ef4dc4edb0f82e57236ef84fbedaab57b7 /%HOME%
parentbranch_fixup_comitter_dates: an alias now (diff)
downloadlinux-home-0eb9dda485b420127060e8ae3d897668804ff320.tar.gz
linux-home-0eb9dda485b420127060e8ae3d897668804ff320.zip
.profile: fix on Linux Mint
Diffstat (limited to '')
-rw-r--r--%HOME%/.profile6
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" ] \