From: Vincent Lefevre <vincent@vinc17.org>
To: zsh-users@sunsite.dk
Subject: Re: Problem with zip completion
Date: Wed, 17 Oct 2001 19:11:54 +0200 [thread overview]
Message-ID: <20011017191154.B17322@greux.loria.fr> (raw)
In-Reply-To: <1011017164932.ZM4674@candle.brasslantern.com>
On Wed, Oct 17, 2001 at 16:49:32 +0000, Bart Schaefer wrote:
> You probably needed -p0 to tell it not to strip off any path components
> at all.
Hmm... yes, I forgot that one. A bit tired... :( Thanks.
> That one I can't tell you. It sure looks like you got some stray output
> written into the .zcompdump file. Do you perhaps have a preexec that
> emits something to stdout? Unlike precmd, which executes only when a
> prompt is printed, preexec executes before *every* top-level command,
> even when running shell scripts.
No, I have no preexec function. These lines come from the precmd
function. I also have:
TRAPCLD() { precmd }
If I replace it by
TRAPCLD() { precmd > $TTY }
this solves the problem. Is it the right thing to do?
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
next prev parent reply other threads:[~2001-10-17 17:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-17 14:47 Vincent Lefevre
2001-10-17 15:43 ` Bart Schaefer
2001-10-17 16:22 ` Oliver Kiddle
[not found] ` <20011017111333.A32235@dman.com>
2001-10-17 16:21 ` Vincent Lefevre
2001-10-17 16:49 ` Bart Schaefer
2001-10-17 17:11 ` Vincent Lefevre [this message]
2001-10-17 17:24 ` Bart Schaefer
2001-10-17 17:44 ` Bart Schaefer
2001-10-17 23:15 ` Vincent Lefevre
2001-10-18 0:57 ` Bart Schaefer
2001-10-18 2:13 ` Vincent Lefevre
2001-10-18 4:46 ` Sweth Chandramouli
2001-10-18 9:05 ` Vincent Lefevre
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=20011017191154.B17322@greux.loria.fr \
--to=vincent@vinc17.org \
--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).