prompt_git:1: bad output format specification

素颜马尾好姑娘i 2022-11-22 00:25 123阅读 0赞

现象

使用OMZ有时候会显示出下列信息:

  1. prompt_git:1: bad output format specification

对常用命令的执行没有什么影响,但是看起来还是很别扭。

解决办法

执行命令:

  1. rm -rf ~/.zcompdump*

删除这些隐藏文件后再重启 terminal 就可以了。

参考链接

https://github.com/ohmyzsh/ohmyzsh/issues/3602

发表评论

表情:
评论列表 (有 0 条评论,123人围观)

还没有评论,来说两句吧...

相关阅读