diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-26 03:11:08 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-26 03:11:08 +0900 |
commit | eb8fef0031a4d365093617238dac05d6f6c16a1a (patch) | |
tree | 89486b51d78c4cbc3c4c679c85331cbda258e412 /install | |
parent | 87447ddd6d0803bf5f6430a62c118b2c519c6a39 (diff) |
Add man path only when the directory exists
$fzf_base/man may not exist when installed with Homebrew.
Diffstat (limited to 'install')
-rwxr-xr-x | install | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 # --------------- |