From bc866d916d759da6d1f3c77b5f73f9d93351aa06 Mon Sep 17 00:00:00 2001 From: Christian Ferbar Date: Thu, 29 Sep 2016 09:22:14 +0200 Subject: [PATCH] add svn_get_rev_nr --- Plugin:svn.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Plugin:svn.md b/Plugin:svn.md index fea203f..a824bbb 100644 --- a/Plugin:svn.md +++ b/Plugin:svn.md @@ -1,19 +1,25 @@ # `svn` plugin +This plugin adds some utility functions to display additional information regarding your current svn reositiory. See http://subversion.apache.org/ for the full svn documentation ## Functions - | Command | Description | |:-----------------------|:----------------------------------------| |svn_prompt_info | prompt for some themes | |in_svn | within svn directory | |svn_get_repo_name | | |svn_get_branch_name | branch name (bug: returns the first path element if branches not used) | +|svn_get_rev_nr | revision number | |svn_dirty | changes in this subversion repo | -##Usage -###Agnoster theme git-like prompt +## Caveats + +The plugin expects the first directory to be the current branch / tag / trunk. + +## Usage + +### Agnoster theme git-like prompt Enable the svn plugin and add the followind lines to your ```~/.zshrc```