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

Re: completion killing zsh



Timothy J Luoma wrote:

> Don't ask me why, but when I try this completion (ie: I hit 'tab' after  
> 'ivvvv' below) zsh dies:
> 
> (zsh = 3.1.5-pws-20)
> 
> (gdb) run
> Starting program: /usr/bin/zsh
> # appnmail -ivvvv Program generated(1): Memory access exception on address  
> 0x2f (protection failure).
> 0x36d45 in ?? ()
> (gdb)

I can't help you with this either. Sorry.

> here's the reply function "allmbox" :
> 
> allmbox ()
>    {
>    if [[ $mboxs = "" ]]
>    then
>    	mboxs=(`find ~/Mailboxes/ -type d -name '*.mbox' -print`);

Any reason for not using `~/Mailboxes/**/*.mbox(/)'?

>    fi
>    reply=$mboxs;
>    }

This should be `reply=( $mboxs )'.

> what am I doing wrong here?
> 
> is it a buffer overflow maybe?
> 
> # find ~/Mailboxes/ -type d -name '*.mbox' -print|wc
>     177     177   11536

No. 177 matches is nothing.


Bart Schaefer wrote:

> This message looks very familiar, but I can't figure out how to search
> for the similar one.  Didn't someone else some months ago ask about a
> compctl that had 'S[-]' just sort of floating out there like this?

It's zsh-users:23(08|09|10) -- but without a SEGV.


Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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