From: Michael Prokop Date: Mon, 18 May 2009 20:32:37 +0000 (+0200) Subject: zshrc: do not fall back to LANG en_US.iso885915 if it is unset X-Git-Tag: v0.3.70 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=refs%2Ftags%2Fv0.3.70;p=grml-etc-core.git zshrc: do not fall back to LANG en_US.iso885915 if it is unset --- diff --git a/debian/changelog b/debian/changelog index 2f580b8..ff35441 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +grml-etc-core (0.3.70) unstable; urgency=low + + * zshrc: do not fall back to LANG en_US.iso885915 if it is unset. + (For one reason because we prefer utf8 nowdays, on the other + side it should resolve a cosmetic locales problem from grml-small.) + + -- Michael Prokop Mon, 18 May 2009 22:31:46 +0200 + grml-etc-core (0.3.69) unstable; urgency=low * zshrc: properly source the global zshrc.local via zrclocal(), to diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 9756914..7773ed9 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -458,8 +458,7 @@ zrclocal() { # locale setup {{{ xsource "/etc/default/locale" -export LANG=${LANG:-en_US.iso885915} -for var in LC_ALL LC_MESSAGES ; do +for var in LANG LC_ALL LC_MESSAGES ; do [[ -n ${(P)var} ]] && export $var done