m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 07:43:39 -05:00

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
# --------
export MANPATH="\$MANPATH:$fzf_base/man"
if [ -d "$fzf_base/man" ]; then
export MANPATH="\$MANPATH:$fzf_base/man"
fi
# Auto-completion
# ---------------