diff --git a/.bashrc b/.bashrc index bb90610..83bc29a 100644 --- a/.bashrc +++ b/.bashrc @@ -250,7 +250,7 @@ NPM_PACKAGES="${HOME}/.npm-packages" export PATH="$NPM_PACKAGES/bin:$PATH" export EDITOR=vim -if [ command -v manpath ] +if command -v manpath &> /dev/null then unset MANPATH # delete if you already modified MANPATH elsewhere in your config export MANPATH="$NPM_PACKAGES/share/man:$(manpath)"