diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-23 20:14:55 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-23 20:14:55 +0100 |
commit | 23cb3fdc2c65186660d6741c1358f08d9cf8e6f4 (patch) | |
tree | 3d9161e57674eca1823a3a639b86b5299a3a0efd | |
parent | 06c5e2becdfd9293aa8d90d3e517ef1f03ac653c (diff) |
zshrc: Use preformatted manuals where available
-rw-r--r-- | etc/rc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -93,7 +93,14 @@ export MAKEFLAGS=j$(grep -c '^processor' /proc/cpuinfo) [[ $path[1] = $HOME/bin ]] || export PATH=$HOME/bin:$PATH # Add manuals from caretaker to manpath -[[ -n $commands[manpath] && -z $MANPATH ]] && export MANPATH=$(manpath):$HOME/packages/.collected/man +if [[ $distro == debian ]] { + if [[ -e ~/packages/catman ]] { + export MANPATH=/var/cache/man + } else { + export MANPATH=/usr/share/man + } + MANPATH+=":/usr/local/share/man:$HOME/packages/.collected/man" +} # }}} # {{{ MIME parameters |