Skip to content
Snippets Groups Projects
Commit 91876e98 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

Avoid duplicate paths in MANPATH

parent eb8fef00
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ fi
# Man path
# --------
if [ -d "$fzf_base/man" ]; then
if [[ ! "\$MANPATH" =~ "$fzf_base/man" && -d "$fzf_base/man" ]]; then
export MANPATH="\$MANPATH:$fzf_base/man"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment