diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2016-08-10 14:33:04 -0700 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2016-08-10 20:17:56 -0700 |
| commit | 8d7d02f42c3947f756c18cb4d37d9d97fbd0d27d (patch) | |
| tree | a6cecddaaea7e87d901a6c28bebe3a531438f24b /posts/2009-08-23-perl5lib-and-zsh.md | |
| parent | Merge branch 'convert-to-org' (diff) | |
| download | lumberjaph-8d7d02f42c3947f756c18cb4d37d9d97fbd0d27d.tar.gz | |
convert back to md
Diffstat (limited to '')
| -rw-r--r-- | posts/2009-08-23-perl5lib-and-zsh.md | 11 |
1 files changed, 11 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..75ab81b --- /dev/null +++ b/posts/2009-08-23-perl5lib-and-zsh.md @@ -0,0 +1,11 @@ +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 +``` |
