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

Re: zsh crashes with floating point exception



> I'm more convinced than ever you haven't got the default widget.
Strange.

> Could you run "zle -lL | grep backward-kill-line", and if that shows
> something, "which <function>" where <function> is the last word on the line?

lama:~>zle -lL | grep backward-kill-line
zle -N backward-kill-line

lama:~>which backward-kill-line
backward-kill-line () {
        local scb=$CUTBUFFER
        local slw=$LASTWIDGET
        local sbl=${#BUFFER}
        zle .backward-kill-line
        (( $sbl == $#BUFFER )) && return
        if [[ $slw = (.|)(backward-|)kill-* ]]
        then
                killring=("${(@)killring[2,-1]}") 
                CUTBUFFER=$CUTBUFFER$scb 
        fi
        set-x-clipboard $CUTBUFFER
}

Hm, what does that tell you?

Thanks,
 Andy.

-- 
 Fotos: familie.spiegl.de   Info: peru.spiegl.de
 Weblog: blog.spiegl.de     Mail: andy@xxxxxxxxx
-- 
 When women are depressed they either eat or go shopping.
 Men invade another country.  --- Elayne Boosler



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