Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: segfault when overriding complete-word then trying to use tab completion
- X-seq: zsh-users 4732
- From: Ian Lynagh <igloo@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: segfault when overriding complete-word then trying to use tab completion
- Date: Fri, 1 Mar 2002 17:25:05 +0000
- In-reply-to: <1020301163650.ZM18718@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020301001623.GA3551@xxxxxxxxxxxxxxxxxxxxx> <1020301092621.ZM18214@xxxxxxxxxxxxxxxxxxxxxxx> <20020301123241.GA9242@xxxxxxxxxxxxxxxxxxxxx> <1020301163650.ZM18718@xxxxxxxxxxxxxxxxxxxxxxx>
- Sender: Ian Lynagh <ian@xxxxxxxxxxxxxxxxxx>
On Fri, Mar 01, 2002 at 04:36:50PM +0000, Bart Schaefer wrote:
> On Mar 1, 12:32pm, Ian Lynagh wrote:
> }
> } Linux/x86, zsh 4.0.4, and no, it doesn't happen with zsh -f.
>
> "Linix/x86" is not even close to specific enough.
What exactly do you want to know then?
It's running 2.4.8-ac9, Debian, libc6 2.2.4-7.
ldd `which zsh` gives
libcap.so.1 => /lib/libcap.so.1 (0x40020000)
libdl.so.2 => /lib/libdl.so.2 (0x40024000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40028000)
libncurses.so.5 => /lib/libncurses.so.5 (0x4003d000)
libm.so.6 => /lib/libm.so.6 (0x4007c000)
libc.so.6 => /lib/libc.so.6 (0x4009e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> } It also doesn't happen if I . /etc/zshrc and then ./.zshrc in zsh -f. Is
> } there anything else I need to do to simulate the effect of -f not being
> } given so I can track the problem down?
>
> Look for /etc/zshenv, ~/.zshenv, /etc/zshrc ...
>
> Your best bet is probably to run `zsh -x 2> xtrace.out', then immediately
> exit from that shell and look at the xtrace.out file to see what commands
> are being executed.
Can you reproduce it if you also have this in your .zshrc?
Just running it later doesn't seem sufficient - _main_complete only
seems to execute if it's in there.
-----
zstyle ':completion:*' completer _expand _complete
zstyle ':completion:*' completions 1
zstyle ':completion:*' glob 1
zstyle ':completion:*' matcher-list '' 'r:|[._-]=* r:|=*'
'm:{a-zA-Z}={A-Za-z}' 'm:{a-z}={A-Z} l:|=* r:|=*'
zstyle ':completion:*' max-errors 1
zstyle :compinstall filename '/home/ian/.zshrc'
autoload -U compinit
compinit
-----
Ta
Ian
Messages sorted by:
Reverse Date,
Date,
Thread,
Author