zsh(yum装包的时候,有时候会不行)

 

[root@GIT ~]# yum search zsh
=============================== N/S Matched: zsh ===============================
autojump-zsh.noarch : Autojump for zsh
docker-io-zsh-completion.x86_64 : zsh completion files for docker
gromacs-zsh.noarch : GROMACS zsh support
python-twisted-core-zsh.x86_64 : Tab completion for Zsh and Twisted Core
zsh-html.x86_64 : Zsh shell manual in html format
zsh.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 0
Receiving 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 ~/.zshrc
Time 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.cfg
anaconda-ks.cfg     install.log         install.log.syslog

 经测试问题一:

yum安装的时候会有问题,所以在用yum装包的时候最好用bash

 

posted @ 2016-09-01 22:06  bass  阅读(760)  评论(0编辑  收藏  举报