Giter VIP home page Giter VIP logo

bash-pinyin-completion's Introduction

特性

  • 支持拼音首字母匹配和完全匹配
  • 支持多音字匹配
  • 仅支持UTF-8编码环境

安装

ubuntu

支持10.04 ~ 12.10版本从ppa安装

sudo add-apt-repository ppa:emptyhua/toolbox
sudo apt-get update
sudo apt-get install bash-pinyin-completion

然后新开一个终端,就可以使用拼音补齐了

Other Linux

对于其他发行版本,只要安装了bash-completion都可以使用源码安装(已测的bash-completion最低版本为1.1)

git clone git://github.com/emptyhua/bash-pinyin-completion.git
cd bash-pinyin*
make
sudo make install

然后新开一个终端,就可以使用拼音补齐了

Mac OS X

对于mac需要先安装 bash-completion

sudo port install bash-completion

然后编辑~/.bash_profile,把下面的代码贴进去

if [ -f /opt/local/etc/bash_completion ]; then
. /opt/local/etc/bash_completion
fi

下载源码,并编译,编译之前根据自己的xcode安装目录修改Makefile中的XCODE_SDK变量

git clone git://github.com/emptyhua/bash-pinyin-completion.git
cd bash-pinyin*
make
sudo make install

然后新开一个终端,就可以使用拼音补齐了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.