zsh-users
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: jkroeger@squirrel.owl.de (Johannes Kroeger)
Cc: zsh-users@math.gatech.edu
Subject: Re: Trying to complete process substitution args crashes zsh-3.0-pre2
Date: Sat, 6 Jul 1996 20:16:37 +0200 (MET DST)	[thread overview]
Message-ID: <199607061816.UAA19403@bolyai.cs.elte.hu> (raw)
In-Reply-To: <199607061724.TAA06515@squirrel.owl.de> from Johannes Kroeger at "Jul 6, 96 07:24:09 pm"

> When I type the following command:
> 
> ~% diff <(zcat file1.gz) <(zcat file2.gz) | less
> 
> I can complete the word "diff" with TAB, but not the word "zcat" in
> the <(...) construction.  Typing TAB after <(zc lists all commands
> beginning with zc, but repeating the TAB keystroke after <(zca
> crashes the shell.  The same goes for >(...) constructions.

Try this patch.

Zoltan


*** Src/zle_tricky.c	1996/07/05 21:58:31	2.55
--- Src/zle_tricky.c	1996/07/06 18:12:25
***************
*** 929,936 ****
  	addx(&tmp);
      linptr = (char *)line;
      pushheap();
-   start:
      HEAPALLOC {
  	inwhat = IN_NOTHING;
  	/* Now set up the lexer and start it. */
  	parbegin = parend = -1;
--- 929,936 ----
  	addx(&tmp);
      linptr = (char *)line;
      pushheap();
      HEAPALLOC {
+       start:
  	inwhat = IN_NOTHING;
  	/* Now set up the lexer and start it. */
  	parbegin = parend = -1;



      reply	other threads:[~1996-07-06 18:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-06 17:24 Johannes Kroeger
1996-07-06 18:16 ` Zoltan Hidvegi [this message]

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=199607061816.UAA19403@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=jkroeger@squirrel.owl.de \
    --cc=zsh-users@math.gatech.edu \
    /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).