标签:install mac tps code splay git completed quit english
$ mkdir tools
$ cd tools
$ git clone https://github.com/soimort/translate-shell
$ cd translate-shell/
$ make
[OK] Task build completed.
$ sudo make install
[OK] Task build completed.
[OK] translate-shell installed.
如果有gawk报错:
$ brew install gawk
$ trans :zh -b -shell
Translate Shell
(:q to quit)
> english
英语
> trans
反式
> hello world
你好,世界
> :q
退出
标签:install mac tps code splay git completed quit english
原文地址:http://www.cnblogs.com/wtli/p/7779685.html