commit: zshrc: Introduce vcs_info()

Frank Terbeck ft at repos.grml.org
Tue Aug 26 16:34:46 CEST 2008


Changeset available online at:

http://hg.grml.org/grml-etc-core/rev/502a31a8cd4c908fad4bb0825442d3e960c758ae


changeset:   410:502a31a8cd4c908fad4bb0825442d3e960c758ae
user:        Frank Terbeck <ft at grml.org>
date:        Tue Aug 26 16:00:54 2008 +0200
files:       etc/zsh/zshrc
description:
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.





More information about the Git-commits mailing list