[[email protected] ~]# 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
[[email protected] ~]# yum install -y zsh
no.2 :
[[email protected] ~]# sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
[[email protected] ~]# 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
时间: 2024-10-26 00:14:28