about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-10 09:29:09 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-10 09:29:09 +0000
commitfc43f743344d2a13543836d183d9a65f177cb94a (patch)
treefc12ce2f38bccf66e9fa55f98d9316ed82ca2cb5 /Src/Zle
parent802ae96cf9c7cd97654c86ad9bcbb02be9785e0e (diff)
downloadzsh-fc43f743344d2a13543836d183d9a65f177cb94a.tar.gz
zsh-fc43f743344d2a13543836d183d9a65f177cb94a.tar.xz
zsh-fc43f743344d2a13543836d183d9a65f177cb94a.zip
addx() inserts x more often (10621)
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_tricky.c3
1 files changed, 2 insertions, 1 deletions
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;