diff options
Diffstat (limited to 'profile/manpath.sh')
-rw-r--r-- | profile/manpath.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/profile/manpath.sh b/profile/manpath.sh new file mode 100644 index 0000000..def1963 --- /dev/null +++ b/profile/manpath.sh | |||
@@ -0,0 +1,9 @@ | |||
1 | # $MANPATH shouldn't be too extra complicated (as opposed to $PATH), | ||
2 | # so I'm not going to include a whole other function. AT SOME POINT, | ||
3 | # I suppose I should generalize that function to set /any/ path-type | ||
4 | # variable, not just $PATH. | ||
5 | # $MANPATH ends with `:' so that manpath(1) will prepend it to its | ||
6 | # special thing. | ||
7 | |||
8 | MANPATH="${XDG_DATA_HOME:-$HOME/.local/share}/man:" | ||
9 | export MANPATH | ||