This is not a zsh
issue, it's a combination of problems with the terminal emulator and the character in question.
Here's the character used in my prompt:
I use a monospace font: Inconsolata. This means that all the characters line up vertically. However, the emoji character you're asking about is too wide (it takes up two character spaces).
I think this means that that character is typeset 1.7-2 times wider than a normal character, and your terminal emulator doesn't know how to handle it. When it's rendered, it displays the normal character width, unfortunately cutting off the right-hand portion of the character.
I would recommend:
- Finding a different terminal emulator or font: I'm not sure whether it's your combination, or specifically the font, or specifically the emulator. (I don't use Cygwin, and can't recommend any Windows-based software).
- Changing characters to one that doesn't overflow the character width.
Note: Interestingly, your first example is also too wide:
(it should be directly under the a
). Perhaps it's just that the paw-print character is far too wide (double) instead of a little (1.5-ish).
You could try setting the character with a space after it:
ZSH_THEME_PAW_PREFIX='🐾 '
but I don't know if this will work.