o-my-zsh配置
1. 首先安装oh-my-zsh
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
2. 安装zsh-autosuggestions
# zsh-autosuggestions是一个命令自动补全插件
# 如果感觉 → 补全不方便,还可以自定义补全的快捷键
bindkey '^,' autosuggest-accept
3.安装zsh-z
https://github.com/agkozak/zsh-z
git clone https://github.com/zsh-users/zsh-syntax-highlighting${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
表评论4248