]> git.donarmstrong.com Git - zsh.git/commit
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