zsh-users
 help / color / mirror / code / Atom feed
* Trying to complete process substitution args crashes zsh-3.0-pre2
@ 1996-07-06 17:24 Johannes Kroeger
  1996-07-06 18:16 ` Zoltan Hidvegi
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Kroeger @ 1996-07-06 17:24 UTC (permalink / raw)
  To: zsh-users

I run zsh-3.0-pre2 under Linux 2.0.3 with the following options:

~% setopt
alwaystoend
autolist
autoparamkeys
autopushd
autoremoveslash
bgnice
completeinword
correctall
cshnullglob
extendedglob
hashcmds
hashdirs
hashlistall
histignoredups
histignorespace
interactive
listambiguous
listtypes
mailwarning
monitor
nobeep
noclobber
nohup
numericglobsort
pushdignoredups
pushdsilent
pushdtohome
shinstdin
zle

and no fancy completion scripts.

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.

-- 
Johannes Kroeger				<jkroeger@squirrel.owl.de>
Send me mail with subject "send pgp-key" to get my PGP key



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Trying to complete process substitution args crashes zsh-3.0-pre2
  1996-07-06 17:24 Trying to complete process substitution args crashes zsh-3.0-pre2 Johannes Kroeger
@ 1996-07-06 18:16 ` Zoltan Hidvegi
  0 siblings, 0 replies; 2+ messages in thread
From: Zoltan Hidvegi @ 1996-07-06 18:16 UTC (permalink / raw)
  To: Johannes Kroeger; +Cc: zsh-users

> 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;



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-07-06 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-06 17:24 Trying to complete process substitution args crashes zsh-3.0-pre2 Johannes Kroeger
1996-07-06 18:16 ` Zoltan Hidvegi

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).