oh-my-git icon indicating copy to clipboard operation
oh-my-git copied to clipboard

git prompt is very slow

Open pasankg opened this issue 5 years ago • 3 comments

Executing commands on the command line takes a couple of seconds more when oh-my-git is enabled in a repository. With oh-my-git enables running time git st

real	0m1.837s
user	0m0.421s
sys	0m8.548s

And without oh-my-git on the same repo

real	0m1.473s
user	0m0.397s
sys	0m4.889s

Also just hitting enter on the cmd line it takes about 3 seconds for the prompt to release. I tried in my mac terminal and iTerm2 and results were the same.

Any suggestions to fix this please. Thank you.

pasankg avatar Dec 02 '19 08:12 pasankg