Do not override parent process paths, close #26
This commit is contained in:
parent
80bbc8171f
commit
98e63641a9
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue