1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 19:49:25 +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

@ -20,8 +20,6 @@ if [[ "$OSTYPE" == darwin* ]]; then
perl_path="$HOME/Library/Perl/5.12"
if [[ -f "$perl_path/lib/perl5/local/lib.pm" ]]; then
manpath=("$perl_path/man" $manpath)
if [[ ! -s "$cache_file" ]]; then
perl -I$perl_path/lib/perl5 -Mlocal::lib=$perl_path >! "$cache_file"
fi