blob: 478e351963295cebbf5ab446f9cec93ed8bc22a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# /etc/zsh/zprofile
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/files/zprofile,v 1.1 2003/07/23 17:48:19 usata Exp $
[[ -e "/etc/profile.env" ]] && source /etc/profile.env
#077 would be more secure, but 022 is generally quite realistic
umask 022
if [[ "$USER" == root ]]; then
export PATH="/bin:/sbin:/usr/bin:/usr/sbin:${ROOTPATH}"
else
export PATH="/bin:/usr/bin:${PATH}"
fi
unset ROOTPATH
|