Centos7.0安装zsh-autosuggestion

在安装zsh-autosuggestion之前需要先安装oh-my-zsh

1.安装zsh-autosuggestion

git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

2、编辑~/.zshrc文件

vim ~/.zshrc
按i 进入–INSERT–编辑模式,使用上下左右键找找到plugins=(git)这一行添加plugins=(git zsh-autosuggestions)
Centos7.0安装zsh-autosuggestion
结果如上图所示

3、保存退出

SC 回到正常模式,:wq保存并退出vim

4、重启命令行

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-03
  • 2021-06-21
  • 2021-10-29
  • 2021-12-22
  • 2022-12-23
  • 2021-12-04
猜你喜欢
  • 2022-01-30
  • 2021-12-24
  • 2022-12-23
  • 2021-12-14
  • 2022-01-17
  • 2021-11-24
相关资源
相似解决方案