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

Re: ZWJ paste from clipboard problem (unicode)



On Mon, 31 Mar 2025, at 21:13, Daniil Rozanov 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.

See the COMBINING_CHARS option.
You want your config to include:

setopt COMBINING_CHARS

-- 
Hugo




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