diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-10 09:29:09 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-10 09:29:09 +0000 |
commit | fc43f743344d2a13543836d183d9a65f177cb94a (patch) | |
tree | fc12ce2f38bccf66e9fa55f98d9316ed82ca2cb5 | |
parent | 802ae96cf9c7cd97654c86ad9bcbb02be9785e0e (diff) | |
download | zsh-fc43f743344d2a13543836d183d9a65f177cb94a.tar.gz zsh-fc43f743344d2a13543836d183d9a65f177cb94a.tar.xz zsh-fc43f743344d2a13543836d183d9a65f177cb94a.zip |
addx() inserts x more often (10621)
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Src/Zle/zle_tricky.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 3e2df6ac4..1a41f3281 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2000-04-10 Sven Wischnowsky <wischnow@informatik.hu-berlin.de> + * 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; |