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