X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=.bashrc;h=289a0f9cd341fea76db427157e5ff30961c00f6d;hb=a75c3cb465ac7c5c7fb1aed32de77d5eb007735f;hp=ca689c4f0ed2e1cd5ca49642ebf35c1d2381531e;hpb=9f199dc52428f2ccb713554d791f8e1ed6b0de2a;p=nethome.git diff --git a/.bashrc b/.bashrc index ca689c4..289a0f9 100644 --- a/.bashrc +++ b/.bashrc @@ -97,7 +97,7 @@ for family in $HOME;do _bash_profile_addpath MANPATH "$arch/man" done done -_bash_profile_addpath -f -s CVSROOT "short@vellum.cz:/home/short/pserver/cvs" # default +_bash_profile_addpath -f -s CVSROOT ":pserver:pserver:@cvs.jankratochvil.net/cvs" # default [ -n "$JAVA_HOME" ] && _bash_profile_addpath PATH "$JAVA_HOME/bin" _bash_profile_addpath -s CVSROOT "$HOME/pserver/cvs" _bash_profile_addpath -s CVSROOT "$HOME/cvs" @@ -109,7 +109,8 @@ _bash_profile_addpath -s ANT_HOME "/usr/local/ant" mkdir -p $HOME/lib/perl5 # otherwise CPAN will install to "$HOME/lib/site_perl" etc. _perlpatt="$(perl -MConfig -e 'print "{,/".$Config{$_}."}" for qw(version archname);')" for _perldir in $(eval "echo {/usr,$HOME}{/lib{,64}/perl{,5},/share/perl}{,/site_perl}$_perlpatt");do - _bash_profile_addpath -f PERLLIB "$_perldir" + # $PERL5LIB overrides $PERLLIB and it is being used by: /etc/profile.d/atrpms.* + _bash_profile_addpath -f PERL5LIB "$_perldir" done unset _perldir @@ -281,11 +282,13 @@ function cvs {(unset cvs; done cvs $_line $_opts "$@" ); }; export -f cvs +function perlrpm { repoquery -q --whatprovides $(for i in "$@";do echo "perl($i)";done|sed -e 's/\//::/g' -e 's/[.]pm//g'); }; export -f perlrpm ulimit -S -c 0 set +H shopt -s mailwarn unset OPTIND +umask 022 if [ -f "$HOME/.bashrc.local" ];then source "$HOME/.bashrc.local";fi