carloscuesta / gitmoji-cli

A gitmoji interactive cli tool for using emojis on commits. 💻
https://www.npmjs.com/package/gitmoji-cli
MIT License
4.63k stars 206 forks source link

Gitmoji in git log #749

Closed vhscom closed 2 years ago

vhscom commented 2 years ago

Hello @carloscuesta!

https://github.com/carloscuesta/gitmoji/issues/597

Issue:

When I run git log I don't see emojis.

OS: Arch Linux gitmoji -v: 4.7.0 Node version: 17.3.0

gitmoji-cli-gitlog

I looked at https://github.com/zetaron/gitmoji-log and it hasn't been updated in 5 years and probably isn't very safe to use due to its age. Would it be better just to use the actual emojis instead of the :emoji: reference in the design of this software?

Are there any alternatives written in Rust so I don't have to worry about my shell being hacked by a rogue NPM dependency? I think it'd be better to stick with the VSCode plugin or use the gitmoji.dev website to lookup gitmojis to enter by hand until a compiled version of this CLI is made available.

vhscom commented 2 years ago

Ah, looks like this one is written in Rust: https://github.com/kegesch/gitmoji-cli

carloscuesta commented 2 years ago

Hey @vhscom

That's because you're using the :shortcode: format there's a configuration option to switch to actual unicode emojis instead of that string:

https://github.com/carloscuesta/gitmoji-cli#options-1