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

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值