cvsdist abdd31
#
cvsdist abdd31
# /etc/zprofile and ~/.zprofile are run for login shells
cvsdist abdd31
#
cvsdist abdd31
James Antill 87e381
_src_etc_profile()
James Antill 87e381
{
James Antill 87e381
    #  Make /etc/profile happier, and have possible ~/.zshenv options like
James Antill 87e381
    # NOMATCH ignored.
James Antill 87e381
    #
James Antill 87e381
    emulate -L ksh
James Antill 87e381
James Antill 87e381
    # source profile
James Antill 87e381
    if [ -f /etc/profile ]; then
James Antill 87e381
	    source /etc/profile
James Antill 87e381
    fi
James Antill 87e381
}
James Antill 87e381
_src_etc_profile
James Antill 87e381
James Antill 87e381
unset -f _src_etc_profile