diff options
Diffstat (limited to 'app-shells/zsh/files/zprofile')
-rw-r--r-- | app-shells/zsh/files/zprofile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-shells/zsh/files/zprofile b/app-shells/zsh/files/zprofile new file mode 100644 index 000000000000..478e35196329 --- /dev/null +++ b/app-shells/zsh/files/zprofile @@ -0,0 +1,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 |