Instalar CentOS6.4 oh-my-zsh

instalar zsh

yum -y install zsh

# 查看是否安装完成
cat /etc/shells 
/bin/sh
/bin/bash
/sbin/nologin
/bin/dash
/bin/tcsh
/bin/csh
/bin/zsh

# 替换默认的 /bin/bash
chsh -s /bin/zsh
Changing shell for root.
Shell not changed.

# 重启一下
reboot
# 查看现在的shell
echo $SHELL                                                             
/bin/zsh

Instalación oh-my-zsh

Manual de instalación

# 安装git
yum -y install git

#克隆oh-my-zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

#复制zshrc
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

instalación automática

curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh

Si el uso manual de 或者instalación automática, después de la finalización de todos reinicio requerido. oh-my-zsh tenga efecto.

Modificar Asunto

Escoger su tema favorito: https://github.com/robbyrussell/oh-my-zsh/wiki/Themes

vim ~/.zshrc
ZSH_THEME=bira

Supongo que te gusta

Origin www.cnblogs.com/mysticbinary/p/12631486.html
Recomendado
Clasificación