diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-09-10 23:25:10 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-09-10 23:25:10 +0200 |
| commit | 0afbfaee75e8480e8e0ed0a3bbd3749a4756f727 (patch) | |
| tree | f9e4d91866060661d53c50c66973fcd20600983f /_posts/2009-08-23-perl5lib-and-zsh.textile | |
| download | lumberjaph-0afbfaee75e8480e8e0ed0a3bbd3749a4756f727.tar.gz | |
initial import
Diffstat (limited to '_posts/2009-08-23-perl5lib-and-zsh.textile')
| -rw-r--r-- | _posts/2009-08-23-perl5lib-and-zsh.textile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/_posts/2009-08-23-perl5lib-and-zsh.textile b/_posts/2009-08-23-perl5lib-and-zsh.textile new file mode 100644 index 0000000..bfa733f --- /dev/null +++ b/_posts/2009-08-23-perl5lib-and-zsh.textile @@ -0,0 +1,17 @@ +--- +layout: post +category: perl +title: $PERL5LIB and zsh +--- + +in my .zsh.d/S80_perl + +{% highlight bash %} +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 +{% endhighlight %} |
