X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=eb34f40d02045ea28dec0596947e4e011b4d1562;hp=eddb9fa3dfe3e11e9a3961875eb720cdbb548009;hb=b5e14d4df729419dfda1ecd00c36064de08fb01d;hpb=ac6eef6f203b8455e1cd14b511973630ec8dc89d diff --git a/.bashrc b/.bashrc index eddb9fa..eb34f40 100644 --- a/.bashrc +++ b/.bashrc @@ -37,7 +37,7 @@ _bash_profile_addpath -s CVSROOT "$HOME/pserver/cvs" _bash_profile_addpath -s CVSROOT "$HOME/cvs" mkdir -p $HOME/lib/perl5 # otherwise CPAN will install to "$HOME/lib/site_perl" etc. -for _perldir in $(eval "echo $HOME/lib/perl5{,/site_perl}$( +for _perldir in $(eval "echo {/usr,$HOME}/lib/perl5{,/site_perl}$( for perlvar in version archname;do echo -n '{,/' perl -V:"$perlvar"|cut -d "'" -f 2|tr -d '\n' @@ -135,3 +135,5 @@ if [ -f "$HOME/.bashrc.local" ];then source "$HOME/.bashrc.local";fi unset _home_short_dotbashrc # permit later reinitializations fi # _home_short_dotbashrc + +true # Prevent crash in '-e' mode