commit c0d3332b21097a9bf31fc389baadac57bda9444d
parent 0210464f606645976848c08a6429edd35aa1781b
Author: Chris Bracken <chris@bracken.jp>
Date: Sat, 31 Aug 2019 01:56:26 -0700
Export PERL5LIB if ~/.perl5 present
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/.zshenv b/.zshenv
@@ -6,3 +6,8 @@ umask 022
# Set language to Australian English, currency to Japanese Yen.
export LANG=en_AU
export LC_MONETARY=ja_JP
+
+# If a local perl5 directory exists, add PERL5LIB.
+if [[ -d "$HOME/.perl5/lib/perl5" ]]; then
+ export PERL5LIB="$HOME/.perl5/lib/perl5:$PERL5LIB"
+fi