X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_bin%2Fzsh-login;h=69688f175725c8801190401a18169e5576f0a2f4;hb=e0999fecdb06e51a86f6078435efbd0fdc8cd6a5;hp=c9d4e2ea81d9dfd39eece6a904b4ec08fa67d199;hpb=851d45703796afd2503df7c911140c3aeecc4ca5;p=grml-scripts-core.git diff --git a/usr_bin/zsh-login b/usr_bin/zsh-login index c9d4e2e..69688f1 100755 --- a/usr_bin/zsh-login +++ b/usr_bin/zsh-login @@ -4,7 +4,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: Son Mai 28 14:20:08 CEST 2006 [mika] +# Latest change: Mon Dez 18 01:34:26 CET 2006 [mika] ################################################################################ [ -r /etc/grml_version ] && GRMLVERSION=$(cat /etc/grml_version) || GRMLVERSION='(no version information available)' @@ -32,6 +32,11 @@ if [ -x /usr/bin/flite ] ; then esac fi +# activate unicode console if running within utf8 environment +if [ -r /etc/default/locale ] ; then + grep -q "LANG=.*UTF" /etc/default/locale && unicode_start +fi + exec /bin/zsh -l ## END OF FILE #################################################################