#!/bin/zsh
# ====================[ zprofile                           ]====================
#                     [ Time-stamp: "2009-04-18 19:23:19 leycec" ]
# Run before "zshrc" and "zlogin", on initial login.

# ....................{ PROPERTIES                         }....................
#077 would be more secure, but 022 is generally quite realistic.
umask 077

# ....................{ DEPENDENCIES                       }....................
# Import system-specific variables.
source /etc/zsh/zenv

# Source "/etc/profile.d/" shell scripts. There tend to be few of these scripts;
# they perform complex functionality, unlike "/etc/env.d/" shell scripts, which
# tend to perform simple variable assignments.
shopts=$-
setopt nullglob
for sh in /etc/profile.d/*.sh ; do
  [ -r "$sh" ] && . "$sh"
done
unsetopt nullglob
set -$shopts
unset sh shopts


