From 2a5a899a55fd2bce10efd01c75a4bec5285aa46c Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 15 Apr 1999 18:10:10 +0000 Subject: zsh-3.1.5-pws-4 --- Src/builtin.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Src/builtin.c') diff --git a/Src/builtin.c b/Src/builtin.c index 7e77bc190..6c41ce2fd 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -992,9 +992,13 @@ cd_new_pwd(int func, LinkNode dir, int chaselinks) /* execute the chpwd function */ if ((l = getshfunc("chpwd")) != &dummy_list) { + int osc = sfcontext; + fflush(stdout); fflush(stderr); + sfcontext = SFC_HOOK; doshfunc("chpwd", l, NULL, 0, 1); + sfcontext = osc; } dirstacksize = getiparam("DIRSTACKSIZE"); @@ -1469,7 +1473,7 @@ bin_typeset(char *name, char **argv, char *ops, int func) Param pm; Asgment asg; Comp com; - char *optstr = "aiLRZlurtxU----A"; + char *optstr = "aiALRZlurtxU"; int on = 0, off = 0, roff, bit = PM_ARRAY; int initon, initoff, of, i; int returnval = 0, printflags = 0; -- cgit 1.4.1