Include path in /etc/PATH if it exists.
This commit is contained in:
parent
627cbd4058
commit
e3a79da00c
4
.zshenv
4
.zshenv
|
@ -38,6 +38,10 @@ export LPDEST=wsrplj51
|
||||||
PRIVATE_PATH=/usr/local/alpha/mt/bin:$HOME/bin/scripts:$HOME/bin
|
PRIVATE_PATH=/usr/local/alpha/mt/bin:$HOME/bin/scripts:$HOME/bin
|
||||||
ETC_PATH=/usr/local/etc:/usr/etc:/etc:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/samba/bin
|
ETC_PATH=/usr/local/etc:/usr/etc:/etc:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/samba/bin
|
||||||
BIN_PATH=/usr/local/bin:/usr/softbench/bin:/usr/vue/bin:/usr/bin/X11:/bin:/usr/bin:/usr/local/bin/X11
|
BIN_PATH=/usr/local/bin:/usr/softbench/bin:/usr/vue/bin:/usr/bin/X11:/bin:/usr/bin:/usr/local/bin/X11
|
||||||
|
if [ -r /etc/PATH ]
|
||||||
|
then
|
||||||
|
PATH=`cat /etc/PATH`:$PATH
|
||||||
|
fi
|
||||||
|
|
||||||
ALL_PATH=$PRIVATE_PATH:$ETC_PATH:$BIN_PATH:$PATH
|
ALL_PATH=$PRIVATE_PATH:$ETC_PATH:$BIN_PATH:$PATH
|
||||||
NEW_PATH=""
|
NEW_PATH=""
|
||||||
|
|
Loading…
Reference in New Issue