]> git.madduck.net Git - etc/zsh.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Proper detection of VCS type
authormartin f. krafft <madduck@madduck.net>
Tue, 6 May 2008 20:47:29 +0000 (21:47 +0100)
committermartin f. krafft <madduck@madduck.net>
Tue, 6 May 2008 20:47:29 +0000 (21:47 +0100)
commitfd9312417d57c0c41e23395bece4be00c94dc8df
tree837893fae61688eb89bfee58f92f72b679bee9de
parenta7e11bc9f83c6f69ae2f96fb8a35cd6ca8ea186c
Proper detection of VCS type

we can't just run e.g. a git command because that wouldn't find another repo
type in a subdir of a git repo. so we do it iteratively by checking for the
directories, which is suboptimal but should work.
.zsh/zshrc/85_vcs_prompt