commit 0641fc64c3a1bbc80cc610693f4331c68e6d28fa (patch)
parent 59402113f71bd63f3c95a369a9dc550bcb5c96d2
Author: Alex Karle <alex@alexkarle.com>
Date: Sat, 25 Jul 2020 13:44:49 -0400
sh: Add $HOME/share/man to MANPATH
I don't often write my own man pages, but when I do, I put them in my
$HOME directory :)
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sh/shrc b/sh/shrc
@@ -8,7 +8,8 @@ EDITOR='vi' # $EDITOR, the most important (personal) of exports
VISUAL='vi' # Some programs give priority to this
PAGER='less' # less is more
PERL5LIB=$HOME/perl5/lib/perl5 # default cpanminus location
-export PATH EDITOR VISUAL PAGER PERL5LIB
+MANPATH=":$HOME/share/man"
+export PATH EDITOR VISUAL PAGER PERL5LIB MANPATH
# Shell vars
HISTFILE=${HISTFILE:="$HOME/.sh_histo"} # Don't override bash_history