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

@ -10,11 +10,9 @@ if (( ! $+commands[ghc] )); then
return 1
fi
# Prepend Cabal per user directories to PATH/MANPATH.
# Prepend Cabal per user directories to PATH.
if [[ "$OSTYPE" == darwin* && -d $HOME/Library/Haskell ]]; then
path=($HOME/Library/Haskell/bin(/N) $path)
manpath=($HOME/Library/Haskell/man(/N) $manpath)
else
path=($HOME/.cabal/bin(/N) $path)
manpath=($HOME/.cabal/man(/N) $manpath)
fi