README.md in termit-2.0.9 vs README.md in termit-2.10.0

- old
+ new

@@ -1,10 +1,11 @@ #Termit [![Build Status](https://travis-ci.org/pawurb/termit.png)](https://travis-ci.org/pawurb/termit) [![Gem Version](https://badge.fury.io/rb/termit.png)](http://badge.fury.io/rb/termit) [![Coverage Status](https://coveralls.io/repos/pawurb/termit/badge.png)](https://coveralls.io/r/pawurb/termit) -Termit is an easy way to use Google Translate in your terminal. +Termit is an easy way to use Google Translate in your terminal. You can check out its node.js npm version [normit](https://github.com/pawurb/normit) + ## Installation ```ruby gem install termit ``` @@ -50,12 +51,20 @@ termit es en muchacho -s => boy => Synonyms: boy, lad, youngster, laddie, cully ``` +#### Learning language when committing to git (zsh only) +Idea by [Nedomas](https://news.ycombinator.com/item?id=7545747) . See and hear your messages translated to target lang every time you commit: +In **~/.zshrc** +```bash +export LANG=es +git(){[[ "$@" = commit\ -m* ]]&&termit en $LANG ${${@:$#}//./} -t;command git $@} +``` + ## Language codes: * english - en * polish - pl * french - fr * spanish - es @@ -78,14 +87,9 @@ For MacOSX: brew install mpg123 -## Status - -This is my first open-source project for people to use. Any feedback will be appreciated. - -You can contact me on: p.urbanek89@gmail.com