Chinese name and path of Pinyin completion in Terminal

Source: Internet
Author: User
Article Title: Enter the Chinese name and path of Pinyin in the terminal. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

A friend who typed fast in Linux immediately slowed down when encountering a Chinese directory and file name. There are two options:

Switch to Chinese, enter one or two Chinese characters, and then press TAB to complete

Use the mouse to copy

Now there is a third option :)

Use pinyin to complete the Chinese name and path in the command line

The experiment directory is as follows:

Biff @ lenovo:/domain/WorkSpace $ lsSVN training Global View Zhejiang Construction Bank Zhejiang Rural Credit Cooperative

Usage: (press the TAB key to automatically complete the operation)

Cd S Go to [SVN training] cd q Go to [Global eye] cd z Auto-completion [Zhejiang] cd zj Tip [Zhejiang Construction Bank Zhejiang Rural Credit] alternative cd Zhejiang j Go to [Zhejiang Construction Bank] cd zjj Go to [Zhejiang Construction Bank] cd zj1 Go to [Zhejiang Construction Bank] cd zj2 Go to [Zhejiang Rural Credit]

These 3rd methods are incomparable to the first two methods. They have been used for half a month and are superb!

Share it with you and change it if you have any suggestions.

Download the software package and decompress it. See install. sh for installation (root permission is not required ).

What I think is unsatisfactory:

However, only the first letter of the Chinese alphabet can be entered.

If zhe Instead, they will be in Zhejiang.

Linuxtoy.org/archives/chsdir.html "> http://linuxtoy.org/archives/chsdir.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.