# 查看系统当前 shell
cat /etc/shells

# 查看当前使用的shell
echo $SHELL


# 安装 Oh My Zsh, curl 或 wget 两种方式来安装,用一条命令即可安装。
  # curl
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

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


# 设置主题
open ~/.zshrc

# 找到 ZSH_THEME=robbyrussell 是默认的主题
ZSH_THEME="ys"

# 使配置生效
source ~/.zshrc


# 卸载 Oh My Zsh
uninstall_oh_my_zsh

luffy9
0 声望0 粉丝

引用和评论

0 条评论