zsh/zprofile.rhs
Funda Wang ac9ac58f87 cleanup spec
(cherry picked from commit fa2c7ed56b824e6e005a1c12c93b575021074710)
2024-10-08 10:31:17 +08:00

20 lines
339 B
Plaintext

#
# /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