about summary refs log tree commit diff stats
path: root/profile/manpath.sh
diff options
context:
space:
mode:
authorCase Duckworth2022-07-29 17:04:24 -0500
committerCase Duckworth2022-07-29 17:04:24 -0500
commite6c35b7b14ba815b82a7377f16b06801d68700ce (patch)
tree4f8bee7f6d54e9641a5fb1a6cd5a40cadd944d54 /profile/manpath.sh
parentUpdate link (diff)
downloadetc-e6c35b7b14ba815b82a7377f16b06801d68700ce.tar.gz
etc-e6c35b7b14ba815b82a7377f16b06801d68700ce.zip
bleh
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