From b676b7b71b05adb91feb6d07fbd603b8b4a81e19 Mon Sep 17 00:00:00 2001 From: short <> Date: Mon, 13 May 2002 22:39:35 +0000 Subject: [PATCH] Dropped all `which selfname` in favor of function name {(unset name; & );} - idea provided by Karel Zatloukal Accelerated 'ctags' function --- .bashrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.bashrc b/.bashrc index 570f1ad..d9c875e 100644 --- a/.bashrc +++ b/.bashrc @@ -78,13 +78,13 @@ function cvsupdatei { cvs update "$@" 2>&1|pipebuf -q|grep -v '^?'|less; }; expo 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 grep {(unset grep; ( ulimitme; grep "$@"; ); );}; export -f grep function finame { find . -false ` awk