X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.bashrc;h=f401ff25725d661b3bdcbe453351040bced37eea;hp=f66ac8e680c715ce3b6acfd64bf2755db388223d;hb=5b7268befaa7b1151a7e1fc82c11bc66dfad5b4b;hpb=18eb08becd28e7f308b4debe318465af3b3b53c7 diff --git a/.bashrc b/.bashrc index f66ac8e..f401ff2 100644 --- a/.bashrc +++ b/.bashrc @@ -368,6 +368,7 @@ function rpmsrclist function valgrind {(set -e;unset valgrind;s=~/.python.valgrind;rm -f $s;cp -p /usr/share/doc/python-devel-2.*/valgrind-python.supp $s;patch $s <$s.patch;perl -i -e 'undef $/;$_=<>;1 while s/^(?:###)?({\n)(?:###)?( *ADDRESS_IN_RANGE.*\n(?:[^}#].*\n)*)###/$1$2/gm;print;' $s;valgrind --num-callers=50 --suppressions=$s "$@";);} function yumupdate {(ulimit -v unlimited;yum makecache;yum -y --skip-broken update "$@";);} function gitcommit { git commit -a -m .; } +function gpg {(unset gpg; http_proxy= all_proxy= HTTP_PROXY= ALL_PROXY= gpg "$@"; );} ulimit -S -c 0 set +H