summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_ssh
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 /Completion/Unix/Command/_ssh
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 'Completion/Unix/Command/_ssh')
0 files changed, 0 insertions, 0 deletions