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

Re: completion bug?



Andy Spiegl wrote:

> I think, I just found a bug:
> 
> hamster:/var/tmp>ls -la
> total 1036404
> drwxrwxrwt    2 root     root        14336 Aug  2 11:13 ./
> drwxr-xr-x   21 root     root         1024 Feb 19 00:07 ../
> -rwxrw-r--    1 spiegl   users     1112656 Aug  2 11:07 jarre2.sfk*
> -rwxrw----    1 spiegl   users    284823596 Aug  2 11:07 jarre2.wav*
> -rwxrw-r--    1 spiegl   users     3000720 Aug  2 11:08 jean.michel.jarre.free.concert.in.paris.1990-Paris.La.Defense.(A.City.in.Concert).sfk*
> -rwxrw----    1 spiegl   users    768167980 Aug  2 11:08 jean.michel.jarre.free.concert.in.paris.1990-Paris.La.Defense.(A.City.in.Concert).wav*
> hamster:/var/tmp>play jean<TAB>
> 
> After that zsh hangs and the cpu load rises and rises.
> I had to send it a kill -9 to get rid of it.
> 
> I suppose that "feature" is not intended? :-)

And of course we can't know what's happening without more
information. Namely: do you have a special completion for `play'? I
guess not. But I guess you have a match spec. So we need either your
style settings (`zstyle -L') or a xtrace output, e.g. try typing C-x?
after `ls jean'. This will produce a file with the xtrace in the
$TMPDIR (normally /tmp).

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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