# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Sam Feb 24 20:51:01 CET 2007 [mika]
+# Latest change: Mon Feb 26 18:52:32 CET 2007 [mika]
################################################################################
# This file is sourced only for interactive shells. It
# should contain commands to set up aliases, functions,
# }}}
# {{{ set some important options
- # umask 022
- umask 002
+ (( EUID != 0 )) && umask 002 || umask 022
# history:
setopt append_history # append history list to the history file (important for multiple parallel zsh sessions!)