Skip to content

Instantly share code, notes, and snippets.

@OlivierLDff
Last active August 22, 2023 04:41
  • Star 18 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
πŸš€ Git Bash Emojis (Windows)

Open git bash with admin privilege.

cd "C:/Program Files/Git/usr/share/mintty"
mkdir -p emojis
cd emojis
curl https://raw.githubusercontent.com/wiki/mintty/mintty/getemojis > getemojis
./getemojis -d

Then edit settings via gui:

image

Or .minttyrc (only EmojiPlacement & Emojis are relevant):

Transparency=low
BackgroundColour=29,37,46
Font=Fira Mono for Powerline
Columns=120
Rows=32
FontHeight=10
ThemeFile=dracula
EmojiPlacement=middle
Emojis=windows
Locale=
Charset=

Success: image

@DmitryUrsa
Copy link

Emojis took a while to load, but now they are working!
Thank you for this guide πŸ‘

@rlaker
Copy link

rlaker commented Jan 26, 2022

Thanks! πŸ˜€

@charbelsako
Copy link

Didn't work for me, could use some help

@OlivierLDff
Copy link
Author

Welcome to windows where there is thousand of reason it didn't work ^^ Good luck

@erbanku
Copy link

erbanku commented Aug 22, 2022

Works for me, but why the emoji flashes?
ShareX_2022-08-22_22-58-46_Monday_Window

@OlivierLDff
Copy link
Author

Just use the new windows terminal where everything words out of the box

@erbanku
Copy link

erbanku commented Aug 23, 2022

Just use the new windows terminal where everything words out of the box

OK, thanks.

@stephyswe
Copy link

where is the last thing? the gui or minttyrc ?

@OlivierLDff
Copy link
Author

As you want, the GUI edit the minttyrc file

@DanielErnany
Copy link

How do I access the mintty GUI?

@shift-tyson
Copy link

How do I access the mintty GUI?

Right-click the Git Bash window and select 'Options' from the context menu.

@DanielErnany
Copy link

How do I access the mintty GUI?

Right-click the Git Bash window and select 'Options' from the context menu.

Thanks !!

@DanielErnany
Copy link

DanielErnany commented Jan 30, 2023

I did everything step by step but still the emojis are not shown :

image

@OlivierLDff
Copy link
Author

:tada: is ascii character, not emoji so you see ascii characters. if you type πŸŽ‰ you will it for sure.
If you want :tada: to be rendered as πŸŽ‰, use a software that do the translation for you, the issue is not in the terminal.

@DanielErnany
Copy link

:tada: is ascii character, not emoji so you see ascii characters. if you type πŸŽ‰ you will it for sure. If you want :tada: to be rendered as πŸŽ‰, use a software that do the translation for you, the issue is not in the terminal.

I didn't know, I thought that because gitmoji runs in the terminal, the emojis will be in a format that the terminal can understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment