Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[BUG] incorrect expansion with expand-or-complete and single quote



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