over-env/etc/zsh/zprofile
2018-12-09 21:43:39 +01:00

21 lines
507 B
Bash

# Load environment settings from profile.env, which is created by
# a platform tool (e.g. eclectic env update, env-update) from the files in /etc/env.d
if [ -e /etc/profile.env ] ; then
. /etc/profile.env
fi
export EDITOR=${EDITOR:-/bin/nano}
export PAGER=${PAGER:-/usr/bin/less}
umask 022
export PATH="/home/${USER}/Apps/bin:/usr/local/bin:/usr/bin:/bin:${PATH}"
shopts=$-
setopt nullglob
for sh in /etc/profile.d/*.sh ; do
[ -r "$sh" ] && . "$sh"
done
unsetopt nullglob
set -$shopts
unset sh shopts