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

Re: ZWJ paste from clipboard problem (unicode)



I am not sure if this is a solution. Or if it helps. 
Recently started using it to get emoji into local clipboard. No encoding issues so far fwiw

https://www.npmjs.com/package/emoj


On Mon, 31 Mar 2025 at 21:13, Daniil Rozanov <personal@xxxxxxxxxxxx> wrote:
When trying to paste "👩" (U+1F469 U+1F3FB U+200D U+1F9B0) emoji, zsh
prints two emojis and "<200d>" in between. And then if I toggle command
history with this emoji, zsh corrupts it's prompt so it erases symbol by
symbol.

After I paste one zsh prints 'zsh: (normal looking emoji): command not found', so
there is no problem in my fonts or terminal emulator.



Messages sorted by: Reverse Date, Date, Thread, Author