From: Ian Lynagh <igloo@earth.li>
To: zsh-users@sunsite.dk
Subject: Re: segfault when overriding complete-word then trying to use tab completion
Date: Fri, 1 Mar 2002 17:25:05 +0000 [thread overview]
Message-ID: <20020301172505.GA11135@stu163.keble.ox.ac.uk> (raw)
In-Reply-To: <1020301163650.ZM18718@candle.brasslantern.com>
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
next prev parent reply other threads:[~2002-03-01 17:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-01 0:16 Ian Lynagh
2002-03-01 9:26 ` Bart Schaefer
2002-03-01 12:32 ` Ian Lynagh
2002-03-01 16:36 ` Bart Schaefer
2002-03-01 17:25 ` Ian Lynagh [this message]
2002-03-06 8:37 ` Sven Wischnowsky
2002-03-06 17:14 ` Bart Schaefer
2002-03-07 15:03 ` Ian Lynagh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020301172505.GA11135@stu163.keble.ox.ac.uk \
--to=igloo@earth.li \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).