Pure is fantastic! I use it everywhere I can.
To that end, installing it on remote servers is useful, but I find the git information there useless as I don't issue any git commands or care about git in those contexts.
Can I turn the git integration off completely?
Makes sense. This would also be useful for people that use Mercurial (#313).
I think we could implement the setting like we did with colors, using zstyle.
Maybe zstyle :prompt:pure git false?
@mafredri Thoughts?
That didn't work.
@bigH It's not implemented yet. I'm suggesting a possible API for it.
I think we could do that, but TBH the zstyle syntax always confuses me, there also doesn't seem to be a best practice.
Do we use:
zstyle :prompt:pure git false like you suggested, or...zstyle :prompt:pure:git enable false (or disable true)zstyle :prompt:pure:vcs git false, etc...These all look different when viewing the output of zstyle too.
I guess there's no way to do zstyle :prompt:pure:git false which would have been the nicest.
I think we should go for zstyle :prompt:pure:git isEnabled false, and we standardize on isEnabled for anything that is toggled. Can we use camelCase? Alternatively, enabled.
This would be very nice indeed. With iTerm2 now supporting a dedicated statusbar that can provide much of this information it would be nice if pure could be configured do do as little as possible, so that the extras can be offloaded off to the statusbar.
any update?
@Sepehr-Hosseini-Vineti https://twitter.com/slicknet/status/782274190451671040
Most helpful comment
@bigH It's not implemented yet. I'm suggesting a possible API for it.