Refactor geometry_git function
jedahan opened this issue · comments
Right now geometry_git
is the most complex (and useful!) function we ship. However, it is clunky to customize, as seen in #226 .
Let's look at exposing all the inner functionality - _symbol
, _branch
, _status
, _conflicts
, _time
, and _stashes
, which would allow us to get rid of the clunky GEOMETRY_GIT_SHOW_{CONFLICTS,TIME,STASHES}
vars, and reorder as the user sees fit.
We can also investigate the performance penalty of using zsh's builtin vcs_info
for some of the prompt.
Of course, we can also just rebase #226 on top of mnml and see how that feels as well!
fixed in jedahan@5ec97e3 , will track performance vs vcs_info in another issue