oh-my-zsh 安装和配置

安装前提

  1. 安装 zsh
yum -y install zsh
  1. 安装 git
yum install git
  1. curlwget

安装方式

  1. 通过 curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  1. 通过 wget
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

配置主题

vim ~/.zshrc

## 更改主题为 rkj
ZSH_THEME="rkj"

source ~/.zshrc

参考

https://github.com/ohmyzsh/ohmyzsh

你可能感兴趣的:(linux)