Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

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@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author