added X11R6 and local manpage dirs
This commit is contained in:
parent
6eb46c9ff7
commit
7bea5a33d4
@ -1,9 +1,8 @@
|
||||
#: | man | man pages |
|
||||
MAN_CACHE=$LOAD_PATH/cache/man
|
||||
if [ ! -f $MAN_CACHE ]; then
|
||||
MANPATH=/usr/share/man man -k Nm~. | cut -d\( -f1 | tr -d , | \
|
||||
sort | \
|
||||
uniq > $MAN_CACHE
|
||||
mkdir -p `dirname ${MAN_CACHE}`
|
||||
ls /usr/{share,X11R6,local}/man/man[1-9] | sort -u > $MAN_CACHE
|
||||
fi
|
||||
|
||||
set -A complete_man_1 -- $(cat $MAN_CACHE)
|
||||
|
Loading…
Reference in New Issue
Block a user