|
|
# /etc/zsh/zprofile | # /etc/zsh/zprofile |
# $Header: /home/cvsroot/gentoo-x86/app-shells/zsh/files/zprofile,v 1.1 2003/07/23 17:48:19 usata Exp $ | # $Header: /home/cvsroot/gentoo-x86/app-shells/zsh/files/zprofile,v 1.1 2003/07/23 17:48:19 usata Exp $ |
| |
|
OPATH="${PATH}" |
[[ -e "/etc/profile.env" ]] && source /etc/profile.env | [[ -e "/etc/profile.env" ]] && source /etc/profile.env |
| |
#077 would be more secure, but 022 is generally quite realistic | #077 would be more secure, but 022 is generally quite realistic |
|
|
else | else |
export PATH="/bin:/usr/bin:${PATH}" | export PATH="/bin:/usr/bin:${PATH}" |
fi | fi |
unset ROOTPATH |
|
|
PATH="${OPATH}:${PATH}" |
|
typeset -U path |
|
unset ROOTPATH OPATH |