blob: 7f17ea3e3d95caeb3f6cd3ff854d698fc31bd3c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# See 00_functions.sh for `path_add_unsafe'.
path_add_unsafe MANPATH \
"${XDG_DATA_HOME:-$LOCAL_PREFIX/share}/man" \
"$LOCAL_PREFIX/local/man" \
"$LOCAL_PREFIX/local/man" \
"$LOCAL_PREFIX/man" \
/usr/share/man \
/usr/X11R6/man \
/usr/local/man
# $MANPATH ends with `:' so that manpath(1) will prepend it to its
# special thing.
case "$MANPATH" in
*:) ;;
*) MANPATH="$MANPATH:" ;;
esac
export MANPATH
|