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