summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index c34fe26..dbad048 100644
--- a/etc/rc
+++ b/etc/rc
@@ -100,7 +100,7 @@ export MAKEFLAGS=j$(grep -c '^processor' /proc/cpuinfo)
[[ $path[1] = $HOME/bin ]] || export PATH=$HOME/bin:$PATH
# Add manuals from caretaker to manpath
-which manpath &> /dev/null && [[ -z $MANPATH ]] && export MANPATH=$(manpath):$HOME/packages/.collected/man
+[[ -n $commands[manpath] && -z $MANPATH ]] && export MANPATH=$(manpath):$HOME/packages/.collected/man
# }}}
# {{{ MIME parameters