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