From fc43f743344d2a13543836d183d9a65f177cb94a Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 10 Apr 2000 09:29:09 +0000 Subject: addx() inserts x more often (10621) --- ChangeLog | 2 ++ Src/Zle/zle_tricky.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3e2df6ac4..1a41f3281 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2000-04-10 Sven Wischnowsky + * 10621: Src/Zle/zle_tricky.c: addx() inserts x more often + * 10620: Src/exec.c: properly restore scriptname in doshfunc() * users/3019: Completion/Core/_path_files: use special-dirs with diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index 3b5e97b65..5dc8a5e06 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -790,7 +790,8 @@ addx(char **ptmp) if (!line[cs] || line[cs] == '\n' || (iblank(line[cs]) && (!cs || line[cs-1] != '\\')) || - line[cs] == ')' || line[cs] == '`' || + line[cs] == ')' || line[cs] == '`' || line[cs] == '}' || + line[cs] == ';' || line[cs] == '|' || line[cs] == '&' || (instring && (line[cs] == '"' || line[cs] == '\'')) || (addspace = (comppref && !iblank(line[cs])))) { *ptmp = (char *)line; -- cgit 1.4.1