zshrc: Introduce vcs_info()
authorFrank Terbeck <ft@grml.org>
Tue, 26 Aug 2008 14:00:54 +0000 (16:00 +0200)
committerFrank Terbeck <ft@grml.org>
Tue, 26 Aug 2008 14:00:54 +0000 (16:00 +0200)
commit5df45d5ad3b55b9274bde7d467886f00eda1d628
tree2d42ac1b41f282fe1caae18681797dd7d6c8487f
parentdbff803e5c017c914f790293016654a52c94c8fd
zshrc: Introduce vcs_info()

This is supposed to be a better __vcs_dir(). In zsh, functions starting
with an underscore are supposed to be part of the completion system.
Therefore, the name switch to vcs_info().

This commit does not enable vcs_info(), yet.

It currently supports git, hg, bzr, svk and svn. However, only the
git, hg and svn backends were tested. Up to now, only git supports
*all* functionality vcs_info() is able to provide.

Its configuration is documented in a comment within the code.
etc/zsh/zshrc