summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-03 19:37:01 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-03 19:37:01 +0200
commit747a0de1eb807ac46c1955d7fe022b3ac629e86c (patch)
treeb9da9591be4fb74b5f56d1a00cd116fea91a8dbb /etc
parent7486620dec597cded349331d412d560144e9ad4e (diff)
etc/rc: export manpath to enable manpages shipped with packages
Diffstat (limited to 'etc')
-rw-r--r--etc/rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index ebb4471..b436748 100644
--- a/etc/rc
+++ b/etc/rc
@@ -23,6 +23,7 @@ export MPD_HOST=saviour
[ $uname = Linux ] && export LANG=en_US.UTF-8
[ $uname = 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`/"
export HOST
+[ $uname = Linux ] && export MANPATH=$(manpath):$HOME/packages/.collected/man
# Fancy directory colors
[ $uname = Linux ] && eval $(dircolors -b $HOME/packages/zsh/etc/dircolors)