Workarounded (?) bash-2.03-74 function exporting
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 27454ea..c675fb6 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -60,6 +60,8 @@ function cvsupdate  { cvs update "$@" 2>&1|             less; }; export -f cvsup
 function cvsupdatei { cvs update "$@" 2>&1|grep -v '^?'|less; }; export -f cvsupdatei
 
 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
 
 ulimit -c 0