summaryrefslogtreecommitdiff
path: root/posts/2009-08-23-perl5lib-and-zsh.org
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-08-04 11:45:44 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-08-04 11:45:44 -0700
commit585b48b6a605cb71ef99dd767880e1b7ee5bf24e (patch)
treec65377350d12bd1e62e0bdd58458c1044541c27b /posts/2009-08-23-perl5lib-and-zsh.org
parentUse Bullet list for the index. (diff)
parentMass convert all posts from markdown to org. (diff)
downloadlumberjaph-585b48b6a605cb71ef99dd767880e1b7ee5bf24e.tar.gz
Merge branch 'convert-to-org'
Diffstat (limited to 'posts/2009-08-23-perl5lib-and-zsh.org')
-rw-r--r--posts/2009-08-23-perl5lib-and-zsh.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/posts/2009-08-23-perl5lib-and-zsh.org b/posts/2009-08-23-perl5lib-and-zsh.org
new file mode 100644
index 0000000..1be5d31
--- /dev/null
+++ b/posts/2009-08-23-perl5lib-and-zsh.org
@@ -0,0 +1,11 @@
+in my .zsh.d/S80\_perl
+
+#+BEGIN_EXAMPLE
+ BASE_PATH=~/code/work/rtgi
+ for perl_lib in $(ls $BASE_PATH); do
+ if [ -f $BASE_PATH/$perl_lib/Makefile.PL ]; then
+ PERL5LIB=${PERL5LIB:+$PERL5LIB:}$BASE_PATH/$perl_lib/lib
+ fi
+ done
+ export PERL5LIB
+#+END_EXAMPLE