17 Sep 22:18
Submitting vcs_info function
From: Frank Terbeck <ft <at> bewatermyfriend.org>
Subject: Submitting vcs_info function
Newsgroups: gmane.comp.shells.zsh.devel
Date: 2008-09-17 20:18:59 GMT
Expires: This article expires on 2008-10-01
Subject: Submitting vcs_info function
Newsgroups: gmane.comp.shells.zsh.devel
Date: 2008-09-17 20:18:59 GMT
Expires: This article expires on 2008-10-01
Hi list, I've been working on this for quite some time now. vcs_info is a function that is able to get information about directories under version control. That information can be used in prompts, for example. I am submitting this for inclusion in the next zsh release - if the developers deem it to be worthy. I think Functions/Misc/vcs_info would be a proper place. I short example of how a vcs_info enabled prompt can look like can be found here: <http://bewatermyfriend.org/posts/2008/09-17.13-43-05-computer.html> I am attaching the vcs_info file to this mail. And I will post a follow-up message, that will contain a documentation patch against Doc/Zsh/contrib.yo. If people want to give this a try, here is what the doc patch contains: [snip] ZSHCONTRIB(1) ZSHCONTRIB(1) NAME zshcontrib - user contributions to zsh [...] UTILITIES [...](Continue reading)
RSS Feed