环境
Ubuntu20.04
安装步骤
安装zsh
sudo apt-get install zsh -y
安装on-my-zsh
git clone https://gitee.com/mirrors/oh-my-zsh.git && ./oh-my-zsh/tools/install.sh
安装命令提示插件
- 下载代码到zsh插件目录
git clone https://gitee.com/mirror-hub/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- 在配置文件中添加
zsh-autosuggestions插件,不同插件使用空格隔开
vim ~/.zshrc

本文详细介绍了在Ubuntu20.04系统中安装ZSHshell并配置on-my-zsh,以及如何添加和启用zsh-autosuggestions命令提示插件的过程,包括必要的gitclone和vim配置文件操作。

1819

被折叠的 条评论
为什么被折叠?



