mrowa44 / emojify

Emoji on the command line :scream:
MIT License
1.55k stars 70 forks source link

Updated all emojis and minor changes. #15

Closed GrenderG closed 7 years ago

GrenderG commented 7 years ago

Added all new emojis, replaced raw emoji by hex value and using printf instead of echo

GrenderG commented 7 years ago

We need to solve the issue of the blank spaces. I have found that if you replace emojified+=' ' for emojified+='\U20' it will work,

good

but in some cases (for example, git log --oneline --color | emojify | less) it won't (as you can see it only fails in some emojis).

error

That's so weird tbh (but I'm not a bash scripting guru, so maybe I'm missing something).

GrenderG commented 7 years ago

Okay, No echo -e or printf works on Mac OSX with hex values. We need help guys!

EDIT: Issue detected. EDIT 2: Now using perl, it should work correctly.

mrowa44 commented 7 years ago

Also fixes #13 #7