XDG-ify my local Perl modules
This commit is contained in:
parent
d735183dcb
commit
f3ba120c6a
1 changed files with 8 additions and 5 deletions
|
@ -20,11 +20,14 @@ fi
|
||||||
newbins+=(~/.gem/ruby/*/bin(N))
|
newbins+=(~/.gem/ruby/*/bin(N))
|
||||||
|
|
||||||
# perl
|
# perl
|
||||||
export PERL_LOCAL_LIB_ROOT="$HOME/perl5:$PERL_LOCAL_LIB_ROOT"
|
export -UT PERL_LOCAL_LIB_ROOT perl_local_lib_root
|
||||||
export PERL_MB_OPT="--install_base '$HOME/perl5'";
|
export -UT PERL5LIB perl5lib
|
||||||
export PERL_MM_OPT="INSTALL_BASE=$HOME/perl5";
|
perl_local_lib_root=($XDG_DATA_HOME/perl5 $perl_local_lib_root)
|
||||||
export PERL5LIB="$HOME/perl5/lib/perl5:$HOME/.perllibs:$PERL5LIB";
|
perl5lib=($XDG_DATA_HOME/perl5/lib/perl5 $perl5lib)
|
||||||
newbins+=(~/perl5/bin)
|
newbins+=($XDG_DATA_HOME/perl5/bin)
|
||||||
|
|
||||||
|
export PERL_MB_OPT="--install_base '$XDG_DATA_HOME/perl5'";
|
||||||
|
export PERL_MM_OPT="INSTALL_BASE=$XDG_DATA_HOME/perl5";
|
||||||
|
|
||||||
# php
|
# php
|
||||||
# I have no idea why Composer decided that the right place to install global
|
# I have no idea why Composer decided that the right place to install global
|
||||||
|
|
Loading…
Reference in a new issue