Do not override parent process paths, close #26

This commit is contained in:
Sorin Ionescu 2012-03-13 01:06:04 -04:00
parent 80bbc8171f
commit 98e63641a9

View File

@ -27,6 +27,7 @@ typeset -U cdpath fpath infopath manpath path
cdpath=(
$HOME
$HOME/Developer
$cdpath
)
infopath=(
@ -34,6 +35,7 @@ infopath=(
$HOME/.tilde/opt/share/info
/usr/local/share/info
/usr/share/info
$infopath
)
manpath=(
@ -41,6 +43,7 @@ manpath=(
$HOME/.tilde/opt/share/man
/usr/local/share/man
/usr/share/man
$manpath
)
for path_file in /etc/manpaths.d/*(.N); do
@ -53,6 +56,7 @@ path=(
/usr/local/{bin,sbin}
/usr/{bin,sbin}
/{bin,sbin}
$path
)
for path_file in /etc/paths.d/*(.N); do