From 0eb9dda485b420127060e8ae3d897668804ff320 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 22 Aug 2017 19:10:05 +0200 Subject: .profile: fix on Linux Mint --- %HOME%/.profile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '%HOME%') 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" ] \ -- cgit v1.2.3