about summary refs log tree commit diff stats
path: root/profile/manpath.sh
diff options
context:
space:
mode:
Diffstat (limited to 'profile/manpath.sh')
-rw-r--r--profile/manpath.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/profile/manpath.sh b/profile/manpath.sh index 944059c..9f310e8 100644 --- a/profile/manpath.sh +++ b/profile/manpath.sh
@@ -1,15 +1,16 @@
1# See 00_functions.sh for `path_add_unsafe'. 1# See 00_functions.sh for `path_add_unsafe'.
2 2
3path_add_unsafe MANPATH \ 3path_add_unsafe MANPATH \
4 "${XDG_DATA_HOME:-$HOME/.local/share}/man" \ 4 "${XDG_DATA_HOME:-$HOME/.local/share}/man" \
5 "$HOME/.local/local/man" \ 5 "$HOME/.local/local/man" \
6 "$HOME/usr/local/man" 6 "$HOME/usr/local/man" \
7 "$HOME/usr/man"
7 8
8# $MANPATH ends with `:' so that manpath(1) will prepend it to its 9# $MANPATH ends with `:' so that manpath(1) will prepend it to its
9# special thing. 10# special thing.
10case "$MANPATH" in 11case "$MANPATH" in
11 *:) ;; 12*:) ;;
12 *) MANPATH="$MANPATH:" ;; 13*) MANPATH="$MANPATH:" ;;
13esac 14esac
14 15
15export MANPATH 16export MANPATH