跳转至

安装oh-my-zsh

1. Install

1.1 curl 安装

GitHub:

Bash
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Gitee ( 国内镜像 )

Bash
sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"

1.2 wget 安装

GitHub:

Bash
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

Gitee ( 国内镜像 )

Bash
sh -c "$(wget -O- https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"

设置主题为ys

Bash
# .zshrc
ZSH_THEME="ys"