diff options
| author | Franck Cuny <franckcuny@gmail.com> | 2016-07-31 10:16:40 -0700 |
|---|---|---|
| committer | Franck Cuny <franckcuny@gmail.com> | 2016-07-31 13:42:48 -0700 |
| commit | 63f413891d5adc596e4d51dfba4d0d23fdea3ca4 (patch) | |
| tree | c2726b60515057a20f434bd89c596360ef17852b /posts/2009-08-23-perl5lib-and-zsh.md | |
| parent | Add Google Analytic tracker. (diff) | |
| download | lumberjaph-63f413891d5adc596e4d51dfba4d0d23fdea3ca4.tar.gz | |
Stop generating a static site.
Diffstat (limited to 'posts/2009-08-23-perl5lib-and-zsh.md')
| -rw-r--r-- | posts/2009-08-23-perl5lib-and-zsh.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/posts/2009-08-23-perl5lib-and-zsh.md b/posts/2009-08-23-perl5lib-and-zsh.md new file mode 100644 index 0000000..4d66250 --- /dev/null +++ b/posts/2009-08-23-perl5lib-and-zsh.md @@ -0,0 +1,12 @@ +in my .zsh.d/S80_perl + +```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 + +``` |
