diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-06-08 09:25:39 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-06-08 09:25:39 +0000 |
commit | 805381040dd69dd02b78423d2d71913b33f3cc33 (patch) | |
tree | 1fa89ee643e8e577a2f79e76e3d6cafc93256ca2 /Src/Zle/zle_main.c | |
parent | f42e3fa8e6152e145251e8f16f4c61c23dec1f59 (diff) | |
download | zsh-805381040dd69dd02b78423d2d71913b33f3cc33.tar.gz zsh-805381040dd69dd02b78423d2d71913b33f3cc33.tar.xz zsh-805381040dd69dd02b78423d2d71913b33f3cc33.zip |
zsh-3.1.5-pws-21 zsh-3.1.5-pws-21
Diffstat (limited to 'Src/Zle/zle_main.c')
-rw-r--r-- | Src/Zle/zle_main.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |