X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshenv;h=2ddcb2b58e3cced14d38bdf9e2b124b1329d8a41;hb=refs%2Ftags%2F0.2.9;hp=d33bb5d3d3f2c47a6bf36889ede7ae5a44837ff8;hpb=538b20715841b392eb9b8f7a410546e78de57afa;p=grml-etc-core.git diff --git a/etc/zsh/zshenv b/etc/zsh/zshenv index d33bb5d..2ddcb2b 100644 --- a/etc/zsh/zshenv +++ b/etc/zsh/zshenv @@ -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: Sam Sep 23 14:20:25 CEST 2006 [mika] +# Latest change: Don Okt 26 00:04:38 CEST 2006 [mika] ################################################################################ # This file is sourced on all invocations of the shell. # If the -f flag is present or if the NO_RCS option is @@ -23,15 +23,14 @@ [ -r /etc/environment ] && source /etc/environment [ -r /etc/default/locale ] && source /etc/default/locale [ -n "$LANG" ] && export LANG || export LANG="en_US.iso885915" - [ -n "$LC_ALL" ] && export LC_ALL # || export LC_ALL="$LANG" + [ -n "$LC_ALL" ] && export LC_ALL [ -n "$LC_MESSAGES" ] && export LC_MESSAGES [ -r /etc/sysconfig/keyboard ] && source /etc/sysconfig/keyboard # set environment variables (important for autologin on tty) - [ -n "$HOSTNAME" ] || export HOSTNAME=`hostname` - [ -z "$USER" ] && export USER=`id -un` - + [ -z "$HOSTNAME" ] && export HOSTNAME=`hostname` + [ -z "$USER" ] && export USER=`id -un` [[ $LOGNAME == LOGIN ]] && LOGNAME=$(id -un) # workaround for live-cd mode as $HOME is not set via rungetty