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:
@ -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
|
||||
|
Reference in New Issue
Block a user