aboutsummaryrefslogblamecommitdiffstats
path: root/main/zsh/zprofile
blob: 5e214759d95d5d9a0b2b86f4d04f77ec6375c95d (plain) (tree)
1
2
3
4



                                                        














                                                                          
#
# /etc/zprofile and ~/.zprofile are run for login shells
#

_src_etc_profile()
{
    #  Make /etc/profile happier, and have possible ~/.zshenv options like
    # NOMATCH ignored.
    #
    emulate -L ksh

    # source profile
    if [ -f /etc/profile ]; then
	    source /etc/profile
    fi
}
_src_etc_profile

unset -f _src_etc_profile