--- /usr/portage/app-shells/zsh/files/zprofile 2003-07-24 02:48:19.000000000 +0900 +++ /usr/portage/app-shells/zsh/files/zprofile 2004-04-05 09:55:46.441319704 +0900 @@ -1,6 +1,7 @@ # /etc/zsh/zprofile # $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 #077 would be more secure, but 022 is generally quite realistic @@ -11,4 +12,7 @@ else export PATH="/bin:/usr/bin:${PATH}" fi -unset ROOTPATH + +PATH="${OPATH}:${PATH}" +typeset -U path +unset ROOTPATH OPATH