首页 > 代码库 > zsh

zsh

 

[root@GIT ~]# yum search zsh=============================== N/S Matched: zsh ===============================autojump-zsh.noarch : Autojump for zshdocker-io-zsh-completion.x86_64 : zsh completion files for dockergromacs-zsh.noarch : GROMACS zsh supportpython-twisted-core-zsh.x86_64 : Tab completion for Zsh and Twisted Corezsh-html.x86_64 : Zsh shell manual in html formatzsh.x86_64 : A powerful interactive shell

no.1:先装zsh

[root@GIT ~]# yum install -y zsh

no.2 :

[root@GIT ~]# sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
[root@GIT ~]# sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"Cloning Oh My Zsh...Cloning into /root/.oh-my-zsh...remote: Counting objects: 794, done.remote: Compressing objects: 100% (662/662), done.remote: Total 794 (delta 19), reused 688 (delta 9), pack-reused 0Receiving objects: 100% (794/794), 534.33 KiB | 508.00 KiB/s, done.Resolving deltas: 100% (19/19), done.Checking connectivity... done.Looking for an existing zsh config...Using the Oh My Zsh template file and adding it to ~/.zshrcTime to change your default shell to zsh!Changing shell for root.Shell changed.         __                                     __     ____  / /_     ____ ___  __  __   ____  _____/ /_   / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ / /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / \____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/                          /____/                       ....is now installed!Please look over the ~/.zshrc file to select plugins, themes, and options.p.s. Follow us at https://twitter.com/ohmyzsh.p.p.s. Get stickers and t-shirts at http://shop.planetargon.com.?  ~ 

大小写不制动匹配,并tab键自动补齐:

?  ~ vi anaconda-ks.cfganaconda-ks.cfg     install.log         install.log.syslog

技术分享

 

zsh