From 1cf274b4162d9b93013c1738e26fed76186217ce Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 18 May 2009 22:32:37 +0200 Subject: [PATCH] zshrc: do not fall back to LANG en_US.iso885915 if it is unset --- debian/changelog | 8 ++++++++ etc/zsh/zshrc | 3 +-- 2 files changed, 9 insertions(+), 2 deletions(-) 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 -- 2.1.4