dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Prompt - check if vcs folder exist (.git, .svn, .hg) before getting vcs repo status

Open huygn opened this issue 9 years ago • 2 comments

This improves responsiveness of this "Prompt" since it prevents unnecessary repo checks ie. hg summary is verys slow (1s) regardless so it will slow down the shell. https://github.com/gnhuy91/dotfiles/commit/d5b237f930e00d1eccfd3c1b128027edcec90871

huygn avatar May 20 '16 03:05 huygn

But what if you're in a subdirectory of your repo?

cowboy avatar May 20 '16 12:05 cowboy

Ah, I missed that, thanks for pointing it out.

huygn avatar May 20 '16 13:05 huygn