oh my zsh 配置
之乎者也 Lv3

Oh My Zsh是一个开源的、社区驱动的框架,用于管理zsh 配置。让天下没有难用的终端(Terminal), 终端terminal神器.

安装 zsh、git
安装oh my zsh
Install oh-my-zsh via curl
1
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Install oh-my-zsh via wget
1
sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
命令补全插件
1
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
命令高亮插件
1
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
修改默认终端
1
chsh -s /bin/zsh
编辑配置文件
1
nano ~/.zshrc
1
2
3
4
5
6
ZSH_THEME="ys"
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
)