|
|
@ -24,20 +24,11 @@
|
|
|
|
# | $ZDOTDIR/.zlogin | H | | |
|
|
|
|
# | $ZDOTDIR/.zlogin | H | | |
|
|
|
|
# +--------------------+-------+-------+--------+
|
|
|
|
# +--------------------+-------+-------+--------+
|
|
|
|
|
|
|
|
|
|
|
|
##
|
|
|
|
echo $PATH | \grep -q '^/opt/'
|
|
|
|
## Reset the path because some systems put path_helper in /etc/zprofile
|
|
|
|
|
|
|
|
## which reorders the path that I setup in ~/.zshenv
|
|
|
|
|
|
|
|
echo $PATH | \grep '^/opt/'
|
|
|
|
|
|
|
|
if [ $? -eq 1 ]; then
|
|
|
|
if [ $? -eq 1 ]; then
|
|
|
|
path=(
|
|
|
|
echo ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+
|
|
|
|
/opt/local/bin /usr/local/bin /usr/bin /bin
|
|
|
|
echo Apple put path_helper in /etc/zprofile again.
|
|
|
|
/opt/local/sbin /usr/local/sbin /usr/sbin /sbin
|
|
|
|
echo Just move it to /etc/zshenv.
|
|
|
|
$HOME/Library/Scripts/bin/`/usr/bin/uname -s`/`/usr/bin/uname -m`
|
|
|
|
echo ~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+
|
|
|
|
$HOME/Library/Scripts/bin/`/usr/bin/uname -s`
|
|
|
|
|
|
|
|
$HOME/Library/Scripts/bin/
|
|
|
|
|
|
|
|
$HOME/Library/Python/bin
|
|
|
|
|
|
|
|
/usr/X11R6/bin
|
|
|
|
|
|
|
|
/opt/local/Library/Frameworks/Python.framework/Versions/Current/bin
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|