zsh自动补全插件zsh-autosuggestions

爱唯
2023-12-01
  1. 下载该插件到.oh-my-zsh的插件目录
    git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

  2. vim ~/.zshrc找到plugins=(git)这一行,如果没有添加。更改为如下

    plugins=(git zsh-autosuggestions)

  3. 重启zsh

 类似资料: