X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=cbf93fd1f423f7ba3174b0cecc305cdbdb0a08b5;hp=c87c1b772529ef34c4eb5350070c1b7e60990697;hb=e5481c77578bfcf0624dc3b6a93968c34cd6c150;hpb=c5435b549d8b9614889bf7f62603cd777e60abb4 diff --git a/.bashrc b/.bashrc index c87c1b7..cbf93fd 100644 --- a/.bashrc +++ b/.bashrc @@ -229,7 +229,7 @@ function ctags {(unset ctags; function ctagsh { ctags "--c-types=+px"; }; export -f ctagsh 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 +function revlines { perl -e 'print reverse <>;'; }; export -f revlines ulimit -S -c 0 set +H