X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=.bashrc;h=fa27a2c0bdbd85f6fc76bf4b32d174578648feec;hb=5d589796983e3997f3cfdceec84dfe20e9302ec4;hp=f6fb4b1e61eaa2931279916259bf75022e478395;hpb=b39959b04b6fa71ca1c475811b5aa4dab70df0f2;p=nethome.git diff --git a/.bashrc b/.bashrc index f6fb4b1..fa27a2c 100644 --- a/.bashrc +++ b/.bashrc @@ -42,6 +42,7 @@ alias maple="ssh -t vega.fjfi.cvut.cz maple" #alias cc='cc -I/home/short/include' alias vi='vim' alias grepb='grep --binary-files=binary' +alias L='lynx' weberr="/var/log/httpd/error/klokan.error_log" if [ -f "$weberr" ];then alias weberr='tail "$weberr"';fi @@ -77,11 +78,18 @@ function cvsignore { done }; export -f cvsignore function cvsignorerm { cvsignore | xargs rm -f; }; export -f cvsignorerm +function cvsignoreall { + (find -type f|sed -e '\#/CVS/[^/]*$#d' -e 's#^\./##';cvsfiles)|sort|uniq -c|sed -n "s/^ *1`echo -e '\t'`//p" + }; export -f cvsignoreall +function cvsignoreallrm { cvsignoreall | xargs rm -f; }; export -f cvsignoreallrm function wclines { awk '{x[$0]++}END{for (i in x) print x[i]"\t"i}'; }; export -f wclines function ulimitme { ulimit -m 100000 -d 150000 -v 200000; }; export -f ulimitme function grep { ( ulimitme; `which grep` "$@"; ); }; export -f grep -function rsync { `which rsync` -v -e ssh --progress --stats --partial "$@"; }; export -f rsync +function finame { find . ` + awk