Support binutilscvs.
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 2d0c31f..c79aafb 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -194,7 +194,7 @@ export HISTFILESIZE="$HISTSIZE"
 export GDBHISTFILE="$HOME/.gdb_history"
 export CVS_RSH="ssh"
 export TZ=":/usr/share/zoneinfo/Europe/Prague"
-MAKEFLAGS=
+export MAKEFLAGS=
 cpus="`getconf _NPROCESSORS_ONLN`"
 if [ -n "$cpus" ];then
        MAKEFLAGS="$MAKEFLAGS -j$[$cpus*3/2]"
@@ -364,6 +364,7 @@ function rpmsrclist
        fi
 }
 function valgrind {(unset valgrind;s=~/.python.valgrind;perl -e 'undef $/;$_=<>;1 while s/^(?:###)?({\n)(?:###)?( *ADDRESS_IN_RANGE.*\n(?:[^}#].*\n)*)###/$1$2/gm;print;' </usr/share/doc/python-devel-2.*/valgrind-python.supp >$s;valgrind --suppressions=$s "$@";);}
+function yumupdate { yum makecache;yum -y update; }
 
 ulimit -S -c 0
 set +H