wsl ubuntu 安装 oh-my-zsh

  1. 安装zsh

    sudo apt install git zsh -y 
  2. 安装oh-my-zsh
    码云地址

    https://gitee.com/mirrors/oh-my-zsh

    执行其中的tools/install.sh

如果无法clone github代码可以尝试把ip写入host

  1. 安装自动补全

    git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  2. 修改配置 ~/.zshrc

    plugins=(git zsh-autosuggestions)

此处评论已关闭