From e3a79da00cabd252167420b292d6ae1600acc6f4 Mon Sep 17 00:00:00 2001 From: hjp Date: Thu, 27 Feb 1997 11:55:26 +0000 Subject: [PATCH] Include path in /etc/PATH if it exists. --- .zshenv | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zshenv b/.zshenv index 32d85dd..d0ebac5 100644 --- a/.zshenv +++ b/.zshenv @@ -38,6 +38,10 @@ export LPDEST=wsrplj51 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 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 NEW_PATH=""