From 805381040dd69dd02b78423d2d71913b33f3cc33 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 8 Jun 1999 09:25:39 +0000 Subject: zsh-3.1.5-pws-21 --- Src/Zle/zle_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Src/Zle/zle_main.c') diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c index dfb437308..13f3cc402 100644 --- a/Src/Zle/zle_main.c +++ b/Src/Zle/zle_main.c @@ -640,7 +640,7 @@ execzlefunc(Thingy func) zsfree(msg); feep(); } else { - int osc = sfcontext; + int osc = sfcontext, osi = movefd(0); startparamscope(); makezleparams(0); @@ -650,6 +650,7 @@ execzlefunc(Thingy func) endparamscope(); lastcmd = 0; r = 1; + redup(osi, 0); } } if (r) { @@ -952,6 +953,7 @@ setup_zle(Module m) makecomplistcallptr = makecomplistcall; makecomplistctlptr = makecomplistctl; unambig_dataptr = unambig_data; + set_comp_sepptr = set_comp_sep; /* initialise the thingies */ init_thingies(); @@ -1027,6 +1029,7 @@ finish_zle(Module m) makecomplistcallptr = NULL; makecomplistctlptr = NULL; unambig_dataptr = NULL; + set_comp_sepptr = NULL; return 0; } -- cgit 1.4.1