* [BUG] incorrect expansion with expand-or-complete and single quote
@ 2024-08-18 2:09 Vincent Lefevre
2024-08-18 2:26 ` Vincent Lefevre
0 siblings, 1 reply; 2+ messages in thread
From: Vincent Lefevre @ 2024-08-18 2:09 UTC (permalink / raw)
To: zsh-workers
With zsh 5.9 under Debian:
Consider a directory with the following 3 files: a'1 a'2 ab
I get as expected:
disset% echo a\'*
a'1 a'2
But if I type [Tab] (expand-or-complete) after a\'*, I get
disset% echo a\'1 a\'2 ab
instead of
disset% echo a\'1 a\'2
Now, consider a directory with the following 2 files: a'b'1 a'b'2
I get as expected:
disset% echo a\'b\'*
a'b'1 a'b'2
But if I type [Tab] (expand-or-complete) after a\'b\'*, this is not
expanded, while I should have obtained
disset% echo a'b'1 a'b'2
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] incorrect expansion with expand-or-complete and single quote
2024-08-18 2:09 [BUG] incorrect expansion with expand-or-complete and single quote Vincent Lefevre
@ 2024-08-18 2:26 ` Vincent Lefevre
0 siblings, 0 replies; 2+ messages in thread
From: Vincent Lefevre @ 2024-08-18 2:26 UTC (permalink / raw)
To: zsh-workers
On 2024-08-18 04:09:44 +0200, Vincent Lefevre wrote:
> I get as expected:
>
> disset% echo a\'b\'*
> a'b'1 a'b'2
>
> But if I type [Tab] (expand-or-complete) after a\'b\'*, this is not
> expanded, while I should have obtained
>
> disset% echo a'b'1 a'b'2
Oops, I obviously meant
disset% echo a\'b\'1 a\'b\'2
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-18 2:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-18 2:09 [BUG] incorrect expansion with expand-or-complete and single quote Vincent Lefevre
2024-08-18 2:26 ` Vincent Lefevre
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).