Thanks to visit codestin.com
Credit goes to github.com

Skip to content

as-cii/terminal-emojify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Emojify

Outputs emoji aliases as raw characters.

Why?

Nowadays many projects use emojis as part of their contribution workflow. Commit messages are, therefore, full of these wonderful icons which, unfortunately, are not accessible in our terminal.

Terminal Emojify is here to change that.

Installation

$ gem install terminal-emojify

Example Usages

Beautiful git history

(straight from my .gitconfig 😎)

Edit your .gitconfig and define this alias:

[alias]
  hist = !git --no-pager log --color --pretty=format:'%C(yellow)%h%C(reset)%C(bold red)%d%C(reset) %s %C(black)— %an (%ad)%C(reset)' --relative-date | emojify | less --RAW-CONTROL-CHARS

Then run the command below on your repo:

$ git hist

Screenshot

If your terminal displays weird characters, please make sure you're running at least version 471 of less before reporting an issue. Thanks! 🍻

You can install the latest version of less via Homebrew:

`brew install less`

Psycho

(courtesy of http://emojisaurus.com/phrases/402-psycho)

$ echo ":hocho: :scream: :shower:" | emojify

Screenshot

Many others

What about you? Please, open an issue describing how you are using it and I will include it here 🙇.

Contributing

  1. Fork it ( https://github.com/as-cii/terminal-emojify/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Outputs emoji aliases as raw characters.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages