1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prezto/runcoms/zprofile

35 lines
1.4 KiB

# Sourced in login shells before .zshrc
# Commands that should be exectued only in login shells
# Do not set environment variables
# Do not define alias, functions, options, etc.
#
# +--------------------+-------+-------+--------+
# | | Inter | Inter | Script |
# | | Login | | |
# +====================+=======+=======+========+
# | /etc/zshenv | A | A | A |
# +--------------------+-------+-------+--------+
# | $ZDOTDIR/.zshenv | B | B | B |
# +--------------------+-------+-------+--------+
# | /etc/zprofile | C | | |
# +--------------------+-------+-------+--------+
# | $ZDOTDIR/.zprofile | D | | |
# +--------------------+-------+-------+--------+
# | /etc/zshrc | E | C | |
# +--------------------+-------+-------+--------+
# | $ZDOTDIR/.zshrc | F | D | |
# +--------------------+-------+-------+--------+
# | /etc/zlogin | G | | |
# +--------------------+-------+-------+--------+
# | $ZDOTDIR/.zlogin | H | | |
# +--------------------+-------+-------+--------+
echo $PATH | \grep -q '^/opt/'
if [ $? -eq 1 ]; then
echo ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+
echo Apple put path_helper in /etc/zprofile again.
echo Just move it to /etc/zshenv.
echo ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+
fi