1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-14 23:01:42 +00:00

[Fix #383] Do not set $MANPATH

man dynamically searches for man pages based on $PATH.
This commit is contained in:
Sorin Ionescu
2013-01-28 17:08:56 -05:00
parent 39795d3e5e
commit e5de305157
5 changed files with 2 additions and 27 deletions

View File

@ -34,7 +34,6 @@ fi
#
typeset -gU cdpath fpath mailpath path
typeset -gxU MANPATH
typeset -gxUT INFOPATH infopath
# Set the the list of directories that cd searches.
@ -49,18 +48,6 @@ infopath=(
$infopath
)
# Set the list of directories that man searches for manuals.
manpath=(
/usr/local/share/man
/usr/share/man
$manpath
)
for path_file in /etc/manpaths.d/*(.N); do
manpath+=($(<$path_file))
done
unset path_file
# Set the list of directories that Zsh searches for programs.
path=(
/usr/local/{bin,sbin}