git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
966545a
)
+function cpan: Wrapper around cpan(1) - calls "install" if some args given
author
short
<>
Mon, 24 Jun 2002 00:24:56 +0000
(
00:24
+0000)
committer
short
<>
Mon, 24 Jun 2002 00:24:56 +0000
(
00:24
+0000)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
884df1b
..
df928dd
100644
(file)
--- 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