Add man path only when the directory exists

$fzf_base/man may not exist when installed with Homebrew.
This commit is contained in:
Junegunn Choi 2015-03-26 03:11:08 +09:00
parent 87447ddd6d
commit eb8fef0031

View File

@ -186,7 +186,9 @@ fi
# Man path # Man path
# -------- # --------
export MANPATH="\$MANPATH:$fzf_base/man" if [ -d "$fzf_base/man" ]; then
export MANPATH="\$MANPATH:$fzf_base/man"
fi
# Auto-completion # Auto-completion
# --------------- # ---------------