From 51be7c1e0d46531504f53c5a5e2d98c9c0dcd46a Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 8 Aug 2007 21:29:28 +0200 Subject: [PATCH] /etc/skel/.zshrc: use luit for utf<->iso-hacks --- debian/changelog | 6 ++++++ etc/skel/.zshrc | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index 05b1a15..8e8da1d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml-etc-core (0.3.21) unstable; urgency=low + + * /etc/skel/.zshrc: use luit for utf<->iso-hacks. + + -- Michael Prokop Wed, 08 Aug 2007 21:29:06 +0200 + grml-etc-core (0.3.20) unstable; urgency=low * /etc/grml/lsb-functions: put log_end_msg exactly one char to diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 9c7fb60..81a8e52 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -3,7 +3,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Mon Jul 23 11:40:12 CEST 2007 [mika] +# Latest change: Mit Aug 08 21:22:03 CEST 2007 [mika] ################################################################################ # source ~/.zshrc.global {{{ @@ -224,18 +224,18 @@ salias check_dpkg_running="dpkg_running" fi -# work around non utf8 capable software in utf environment - if type isutfenv &>/dev/null ; then +# work around non utf8 capable software in utf environment via $LANG and luit + if type isutfenv &>/dev/null && type luit &>/dev/null; then if [ -x $(which mrxvt) ] ; then - isutfenv && [ -n "$LANG" ] && alias mrxvt="LANG=${LANG/(#b)(*)[.@]*/$match[1].iso885915} mrxvt" + isutfenv && [ -n "$LANG" ] && alias mrxvt="LANG=${LANG/(#b)(*)[.@]*/$match[1].iso885915} luit mrxvt" fi if [ -x $(which aterm) ] ; then - isutfenv && [ -n "$LANG" ] && alias aterm="LANG=${LANG/(#b)(*)[.@]*/$match[1].iso885915} aterm" + isutfenv && [ -n "$LANG" ] && alias aterm="LANG=${LANG/(#b)(*)[.@]*/$match[1].iso885915} luit aterm" fi if [ -x $(which centericq) ] ; then - isutfenv && [ -n "$LANG" ] && alias centericq="LANG=${LANG/(#b)(*)[.@]*/$match[1].iso885915} centericq" + isutfenv && [ -n "$LANG" ] && alias centericq="LANG=${LANG/(#b)(*)[.@]*/$match[1].iso885915} luit centericq" fi fi # }}} -- 2.1.4