+gpg
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 20 Sep 2011 17:42:12 +0000 (19:42 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 20 Sep 2011 17:42:12 +0000 (19:42 +0200)
.bashrc

diff --git a/.bashrc b/.bashrc
index a7af14b..20e8c48 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -366,6 +366,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