Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
segfault when overriding complete-word then trying to use tab completion
- X-seq: zsh-users 4720
- From: Ian Lynagh <igloo@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: segfault when overriding complete-word then trying to use tab completion
- Date: Fri, 1 Mar 2002 00:16:23 +0000
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: Ian Lynagh <ian@xxxxxxxxxxxxxxxxxx>
Hi all
When overriding complete-word seemingly at random I either get binary
junk, a segfault, both or nothing (but never tab completion) when
pressing tab.
For example:
ian@majestica:~/.zsh% zsh
ian@majestica:~/.zsh% . ./z1
ian@majestica:~/.zsh% ls øå^M^H^HX^M^H^È^Y^Q^H^È^Y^Q^H( ^N^H( ^N^H0^Ê^[@0^Ê^[@8^Ê^[@8^Ê^[@°^Ë^P^HÀ^?^M^H^Øç^P^H^Øç^P^HP^Ê^[@P^Ê^[@X^Ê^[@X^Ê^[@`^Ê^[@`^Ê^[@@ð^M^H@ð^M^Hp^Ê^[@p^Ê^[@(^Q^N^H(^Q^N^H^À^Ê^[@^À^Ê^[@^È^Ê^[@^È^Ê^[@^Ð^Ê^[@^Ð^Ê^[@^Ø^Ê^[@^Ø^Ê^[@ ^Ê^[@ ^Ê^[@¨^Ê^[@¨^Ê^[@È^U^N^H "^N^Hð ^N^Høå^P^HÈBUFFERLINESøå^M^H^HX^M^H^È^Y^Q^H^È^Y^Q^H( ^N^H( ^N^H0^Ê^[@0^Ê^[@8^Ê^[@8^Ê^[@°^Ë^P^HÀ^?^M^H^Øç^P^H^Øç^P^HP^Ê^[@P^Ê^[@X^Ê^[@X^Ê^[@`^Ê^[@`^Ê^[@@ð^M^H@ð^M^Hp^Ê^[@p^Ê^[@(^Q^N^H(^Q^N^H^À^Ê^[@^À^Ê^[@^È^Ê^[@^È^Ê^[@^Ð^Ê^[@^Ð^Ê^[@^Ø^Ê^[@^Ø^Ê^[@ ^Ê^[@ ^Ê^[@¨^Ê^[@¨^Ê^[@È^U^N^H "^N^Hð ^N^Høå^P^HÈzsh: segmentation fault zsh
ian@majestica:~/.zsh% cat z1
function complete-word {
zle .complete-word
}
zle -N complete-word
ian@majestica:~/.zsh% bindkey -L | grep "\^I"
bindkey "^I" complete-word
ian@majestica:~/.zsh%
Thanks
Ian
Messages sorted by:
Reverse Date,
Date,
Thread,
Author