diff options
author | Case Duckworth | 2022-07-29 17:04:24 -0500 |
---|---|---|
committer | Case Duckworth | 2022-07-29 17:04:24 -0500 |
commit | e6c35b7b14ba815b82a7377f16b06801d68700ce (patch) | |
tree | 4f8bee7f6d54e9641a5fb1a6cd5a40cadd944d54 /profile/manpath.sh | |
parent | Update link (diff) | |
download | etc-e6c35b7b14ba815b82a7377f16b06801d68700ce.tar.gz etc-e6c35b7b14ba815b82a7377f16b06801d68700ce.zip |
bleh
Diffstat (limited to 'profile/manpath.sh')
-rw-r--r-- | profile/manpath.sh | 11 |
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 | ||
3 | path_add_unsafe MANPATH \ | 3 | path_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. |
10 | case "$MANPATH" in | 11 | case "$MANPATH" in |
11 | *:) ;; | 12 | *:) ;; |
12 | *) MANPATH="$MANPATH:" ;; | 13 | *) MANPATH="$MANPATH:" ;; |
13 | esac | 14 | esac |
14 | 15 | ||
15 | export MANPATH | 16 | export MANPATH |