From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15967 invoked from network); 24 Feb 1999 09:44:42 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 24 Feb 1999 09:44:42 -0000 Received: (qmail 17637 invoked by alias); 24 Feb 1999 09:44:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5496 Received: (qmail 17630 invoked from network); 24 Feb 1999 09:44:29 -0000 Date: Wed, 24 Feb 1999 10:43:01 +0100 (MET) Message-Id: <199902240943.KAA26270@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Sven Wischnowsky's message of Wed, 24 Feb 1999 10:29:36 +0100 (MET) Subject: Re: completion test suggestion I wrote: > [[ -after str ]] -> if (( rangebeg(str) < CURRENT )); then > shift 'string(str)' words > > (or: words=(${(@)words[string(str),-1]}")) Plus the modification of `CURRENT' of course: (( CURRENT -= string(str)-1 )) Sorry. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de