ZSH

OhMyZsh

OhMyZsh更新

920 发布: 2022/5/4 15:00 本文总阅读量

zsh更新报错如下:

[oh-my-zsh] Would you like to update? [Y/n] y
Updating Oh My Zsh
fatal: remote error:
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

解决方案

git config --global url."https://github.com/".insteadOf git://github.com/