Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Trying to complete process substitution args crashes zsh-3.0-pre2
- X-seq: zsh-users 274
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: jkroeger@xxxxxxxxxxxxxxx (Johannes Kroeger)
- Subject: Re: Trying to complete process substitution args crashes zsh-3.0-pre2
- Date: Sat, 6 Jul 1996 20:16:37 +0200 (MET DST)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <199607061724.TAA06515@xxxxxxxxxxxxxxx> from Johannes Kroeger at "Jul 6, 96 07:24:09 pm"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
> 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;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author