[issue706] zshrc: xsource "/etc/default/locale" overrides environment
Michael Prokop
bts at bts.grml.org
Tue Jul 7 22:02:45 CEST 2009
New submission from Michael Prokop <mika at grml.org>:
The following snippet in zshrc causes iso-term to fail:
xsource "/etc/default/locale"
for var in LANG LC_ALL LC_MESSAGES ; do
[[ -n ${(P)var} ]] && export $var
done
iso-term tries to replace UTF-8 in the environment with iso885915 (useful if
you have to edit iso88591 encoded documents in the shell) but as the global
zshrc sources /etc/default/locale and exports environment variables again this
doesn't have any effect.
Frank, do you have any ideas for an elegant solution? :)
regards,
-mika-
----------
assignedto: ft
messages: 2341
nosy: ft, mika
priority: bug
status: unread
title: zshrc: xsource "/etc/default/locale" overrides environment
topic: release-stopper
_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue706>
_____________________________________
More information about the Bugs-changes
mailing list