From: short <> Date: Mon, 24 Jun 2002 00:24:56 +0000 (+0000) Subject: +function cpan: Wrapper around cpan(1) - calls "install" if some args given X-Git-Tag: bp_liverpm~132 X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=3c469327e70e4247e1c667c345ba758538277bba;ds=sidebyside +function cpan: Wrapper around cpan(1) - calls "install" if some args given --- diff --git a/.bashrc b/.bashrc index 884df1b..df928dd 100644 --- a/.bashrc +++ b/.bashrc @@ -112,6 +112,7 @@ function ctags {(unset ctags; if [ $# != 0 ];then ctags "$@";else find -type f -a '(' -name "*.[chC]" -o -name "*.cc" -o -name "*.java" ')'|ctags --file-tags -L - fi; );}; export -f ctags +function cpan {(unset cpan; if [ $# = 0 ];then cpan;else perl -MCPAN -e "install qw($*);";fi; );}; export -f cpan ulimit -c 0 set +H