From 3c469327e70e4247e1c667c345ba758538277bba Mon Sep 17 00:00:00 2001 From: short <> Date: Mon, 24 Jun 2002 00:24:56 +0000 Subject: [PATCH] +function cpan: Wrapper around cpan(1) - calls "install" if some args given --- .bashrc | 1 + 1 file changed, 1 insertion(+) 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 -- 1.8.3.1