summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-08 21:49:57 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-08 21:49:57 +0100
commit3c399b23329e788e6ec9ad16dc880c6b4101b039 (patch)
tree405a43becfcd5edf63b75c122c00b7125b7cea36
parent3a9bc941507dff599842c163298eba3b87624211 (diff)
parameters: check_com is not available at this stage
-rw-r--r--etc/parameters2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/parameters b/etc/parameters
index dbb3419..8246445 100644
--- a/etc/parameters
+++ b/etc/parameters
@@ -24,6 +24,6 @@ compdump=~/var/cache/zsh/compdump
[[ $path[1] = $HOME/bin ]] || export PATH=$HOME/bin:$PATH
# Add manuals from pkg to manpath
-check_com manpath && [[ -z $MANPATH ]] && export MANPATH=$(manpath):$HOME/packages/.collected/man
+which manpath &> /dev/null && [[ -z $MANPATH ]] && export MANPATH=$(manpath):$HOME/packages/.collected/man
openbsd: export PKG_PATH="ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/`uname -r`/packages/`machine -a`/:ftp://openbsd.ftp.fu-berlin.de/pub/OpenBSD/`uname -r`/packages/`machine -a`/"