Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion test suggestion
- X-seq: zsh-workers 5496
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: completion test suggestion
- Date: Wed, 24 Feb 1999 10:43:01 +0100 (MET)
- In-reply-to: Sven Wischnowsky's message of Wed, 24 Feb 1999 10:29:36 +0100 (MET)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author