oh-my-fish / theme-agnoster

MIT License
96 stars 64 forks source link

Only run dirty state computation if we should show the dirty state #41

Closed mglazer closed 5 years ago

mglazer commented 5 years ago

I have a pretty large repository, and the command to show dirty state was basically making fish unusable in that repository. I fixed this locally by only doing the dirty state computation if we were actually going to use it. Otherwise this should just be a no-op function.

sn0cr commented 5 years ago

Oh yeah, that is a good point 👍