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