oh-my-zsh 总是很慢

csh切换到zsh已经很久了,但是有时候他会很慢,甚至是在ctrl+c的时候,看了一下,主要的时间都是去检查git状态了,反正这个功能不是特别需要,就关掉好了。

git config --add oh-my-zsh.hide-status 1

Ref: oh-my-zsh slow, but only for certain Git repo

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.