X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=.bashrc;h=ae015d3031787ac7b2c00ab58a612f449a95d988;hb=5fa478af40de0bb82e4870137deabeda31e6abc5;hp=843f2b85a863f38f62907cf6d8270bfb3a971f65;hpb=5ec48b75d5857a895944c3f9a7b856d2257c9e60;p=nethome.git diff --git a/.bashrc b/.bashrc index 843f2b8..ae015d3 100644 --- a/.bashrc +++ b/.bashrc @@ -118,6 +118,7 @@ function ctags {(unset ctags; fi; );}; export -f ctags function cpan {(unset cpan; if [ $# = 0 ];then cpan;else perl -MCPAN -e "install qw($*);";fi; );}; export -f cpan function exx { cd "`unset exx;exx "$@"|tee /proc/self/fd/2|tail -n1|sed -n 's/^extdir=//p'`"; };export -f exx +function revlines { perl -e 'my @r=();push @r,$_ while (<>);print pop @r while @r;'; }; export -f revlines ulimit -c 0 set +H