]> git.madduck.net Git - etc/zsh.git/blobdiff - .zsh/zshrc/85_vcs_prompt

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:

More nocorrect/noglob aliases
[etc/zsh.git] / .zsh / zshrc / 85_vcs_prompt
index 267b1788cdb73d88a2d62112dd0c33f4c071f2da..a99ca184abf9d869868f29528d71edd349c5edb6 100644 (file)
@@ -60,7 +60,7 @@ __bzr_get_branch()
         branch-nick:) branch="$j";;
       esac
     done
         branch-nick:) branch="$j";;
       esac
     done
-  echo "${branch}@$revno"
+  echo "bzr:${branch}@$revno"
 }
 
 __vcs_get_repo_type()
 }
 
 __vcs_get_repo_type()
@@ -71,9 +71,6 @@ __vcs_get_repo_type()
     [ -d ${dir}.git ] && echo git && break
     [ -d ${dir}.bzr ] && echo bzr && break
     [ -d ${dir}.hg ] && echo hg && break
     [ -d ${dir}.git ] && echo git && break
     [ -d ${dir}.bzr ] && echo bzr && break
     [ -d ${dir}.hg ] && echo hg && break
-    [ -d ${dir}.svn ] && echo svn && break
-    [ -d ${dir}.svk ] && echo svk && break
-    [ -d ${dir}CVS ] && echo cvs && break
     [ "$(readlink -f ${dir:-.})" = / ] && echo NONE && break
     dir="../$dir"
   done
     [ "$(readlink -f ${dir:-.})" = / ] && echo NONE && break
     dir="../$dir"
   done