summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2026-06-06 04:39:12 +0200
committerMikael Magnusson <mikachu@gmail.com>2026-06-10 05:20:51 +0200
commitb652243ee40abbc325531c77fbb19be42ea917a6 (patch)
tree46bf30c4e293616c90b7aa97150143e09042d9ec /ChangeLog
parent54686: count lines in showmsg more correctly (diff)
downloadzsh-b652243ee40abbc325531c77fbb19be42ea917a6.tar
zsh-b652243ee40abbc325531c77fbb19be42ea917a6.tar.gz
zsh-b652243ee40abbc325531c77fbb19be42ea917a6.tar.bz2
zsh-b652243ee40abbc325531c77fbb19be42ea917a6.tar.lz
zsh-b652243ee40abbc325531c77fbb19be42ea917a6.tar.xz
zsh-b652243ee40abbc325531c77fbb19be42ea917a6.tar.zst
zsh-b652243ee40abbc325531c77fbb19be42ea917a6.zip
54687: fix brace completion
% mkdir 'a b c'; touch 'a b c'/{'a b c','d e f'} % ls a\ b\ c/{<tab> corrupts the command line into % ls a\ b\ {c/ and the effect is worse the more backslashes there are. It seems like this code should simply always use bp->qpos so there is no reason to keep hasunqu around either. For the compctl path, the curpos members need to be whatever they're determined to be at the start by addwhat for the comparison with ppl and psl, so just fix them at the end before add_match_data. The quotename in get_comp_string fixes subsequent completions, eg % ls a\ b\ c/{a\ b\ c,<tab>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 48c08be14..24bf0ea08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2026-06-10 Mikael Magnusson <mikachu@gmail.com>
+ * 54687: Src/Zle/compcore.c, Src/Zle/compctl.c,
+ Src/Zle/compmatch.c, Src/Zle/compresult.c, Src/Zle/zle_tricky.c:
+ fix brace completion
+
* 54686: Src/Zle/zle_utils.c: count lines in showmsg more
correctly