Mercurial > hg > config
diff .bashrc @ 19:9e2d6f9974a2
remove unneeded functionality from .bashrc
author | k0s <k0scist@gmail.com> |
---|---|
date | Mon, 22 Feb 2010 13:50:08 -0500 |
parents | 9541511ed9d0 |
children | a0636527f809 |
line wrap: on
line diff
--- a/.bashrc Mon Feb 15 20:42:02 2010 -0500 +++ b/.bashrc Mon Feb 22 13:50:08 2010 -0500 @@ -164,40 +164,6 @@ kill `isrunning "$@" | awk '{ print $1 }' | onelineit.py` } -ztest() { - -ZCTL=`find $PWD -name 'zopectl'` -if [ ! -x "$ZCTL" ] -then - echo 'zopectl not found' - return 1 -fi - -if [ "$#" == "1" ] -then - FLAG="False" - for i in '-h' '--help' - do - if [ "$i" == "$1" ] - then - FLAG="True" - break - fi - if [ "$FLAG" == "False" ] - then - ${ZCTL} test -s Products.$1 2>&1 | zfilt - echo "i'm done!" - return 0 - fi - done - -fi - -return 0 - -${ZCTL} test $@ 2>&1 | zfilt - -} tf() { if [[ $@ ]]