美文网首页
zsh 终端提示

zsh 终端提示

作者: 无我_a50f | 来源:发表于2021-11-17 19:15 被阅读0次

    安装 zsh-autosuggestions 插件

    # clone 插件到 on-my-zsh 插件路径
    git clone https://gitee.com/phpxxo/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
    # 修改 .zshrc 配置 插件
    vi ~/.zshrc
    ---------------------------------------------------------------------
    plugins=(git
            zsh-autosuggestions
            )
    
    ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=yellow'
    ----------------------------------------------------------------------
    source ~/.zshrc
    
    

    相关文章

      网友评论

          本文标题:zsh 终端提示

          本文链接:https://www.haomeiwen.com/subject/bxqrtrtx.html