diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Src/Zle/zle_tricky.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index b2cb341ac..2190ee882 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-03-07 Sven Wischnowsky <wischnow@zsh.org> + * 16776: Src/Zle/zle_tricky.c: don't try to build the + redirection string for the loops (for, foreach, select) + * 16774: Functions/Misc/zrecompile: make zrecompile show the error messages from zcompile unless the -q option is given diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index 788f5f8ec..43d234843 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -1086,7 +1086,7 @@ get_comp_string(void) else linarr = 0; } - if (inredir) { + if (inredir && IS_REDIROP(tok)) { rdstr = rdstrbuf; if (tokfd >= 0) sprintf(rdop, "%d%s", tokfd, tokstrings[tok]); |