Hacker News new | ask | show | jobs
by kree10 5981 days ago
There's a more general solution for putting VCS information in your zsh prompt called vcs_info. I don't know if it covers all the features of these hg and git prompts, but it does support svn and cvs (among others), which I still have to use for some projects.

http://zsh.sourceforge.net/Doc/Release/User-Contributions.ht...

1 comments

Yeah, I've seen vcs_info around before. It's exactly like you said -- it supports more VCSes and it's quicker to set up than hand-rolling your own, but it's less flexible.