Merge branch 'master' into #299

This commit is contained in:
Marcin Jekot committed 2013-12-25 18:14:24 +02:00
commit 950da2b836
2 files changed
+6 -2

No files matched your search

+4
View File
@@ -407,6 +407,10 @@ nvm() {
else
PATH="$NVM_DIR/$VERSION/bin:$PATH"
fi
if [ -z "$MANPATH" ]; then
MANPATH=$(manpath)
fi
MANPATH=${MANPATH#*$NVM_DIR/*/man:}
if [[ $MANPATH == *$NVM_DIR/*/share/man* ]]; then
MANPATH=${MANPATH%$NVM_DIR/*/share/man*}$NVM_DIR/$VERSION/share/man${MANPATH#*$NVM_DIR/*/share/man}
else