From 6916427511fcf9700622f9914c5eadefc7a16050 Mon Sep 17 00:00:00 2001 From: Michael Ochmann Date: Sat, 8 Jan 2022 15:14:12 +0100 Subject: [PATCH] fixed manpath issue once again --- .bashrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index e295b0d..bb90610 100644 --- a/.bashrc +++ b/.bashrc @@ -250,8 +250,11 @@ NPM_PACKAGES="${HOME}/.npm-packages" export PATH="$NPM_PACKAGES/bin:$PATH" export EDITOR=vim -unset MANPATH # delete if you already modified MANPATH elsewhere in your config -export MANPATH="$NPM_PACKAGES/share/man:$(manpath)" +if [ command -v manpath ] + then + unset MANPATH # delete if you already modified MANPATH elsewhere in your config + export MANPATH="$NPM_PACKAGES/share/man:$(manpath)" +fi export LDFLAGS="-L/usr/local/opt/libffi/lib" export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"