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