Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG] incorrect expansion with expand-or-complete and single quote
- X-seq: zsh-workers 53040
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [BUG] incorrect expansion with expand-or-complete and single quote
- Date: Sun, 18 Aug 2024 04:09:44 +0200
- Archived-at: <https://zsh.org/workers/53040>
- List-id: <zsh-workers.zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
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@xxxxxxxxxx> - 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)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author