Zsh:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 标签:wikieditor |
(没有差异)
|
2023年3月30日 (四) 05:44的版本
1.安装zsh
apt install zsh
2.安装oh my zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
3.安装插件
# 终端提示 git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions # 语法高亮 git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
4.修改配置文件
vi ~/.zshrc
plugins=(git zsh-syntax-highlighting zsh-autosuggestions )
source ~/.zshrc