dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit bc8a9ea62c5b21b8722759f118d116b2d1640fa0 (patch)
parent 4184ebfa3706cba4338cb1f2ca84ebb95a06d268
Author: Alex Karle <alex@alexkarle.com>
Date:   Fri, 26 Jun 2020 23:50:56 -0400

sh: Add PERL5LIB env-var to default shell config

When I use cpanminus on my home systems, I don't install modules
globally, favoring a local copy under $HOME instead. To add these to the
path, I need to use the PERL5LIB env var.

I should probably look into plenv or perlbrew, but this gets the job
done for now.

Diffstat:
Msh/shrc | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sh/shrc b/sh/shrc @@ -7,7 +7,8 @@ PATH=$HOME/bin:$PATH # Put ~/bin on the for personal scripts EDITOR='vi' # $EDITOR, the most important (personal) of exports VISUAL='vi' # Some programs give priority to this PAGER='less' # less is more -export PATH EDITOR VISUAL PAGER +PERL5LIB=$HOME/perl5/lib/perl5 # default cpanminus location +export PATH EDITOR VISUAL PAGER PERL5LIB # Shell vars HISTFILE=${HISTFILE:="$HOME/.sh_histo"} # Don't override bash_history