From d25b5aa9e2bfcf5abfead6c8a990a6a3b40632da Mon Sep 17 00:00:00 2001 From: Christian Ferbar Date: Thu, 29 Sep 2016 09:16:07 +0200 Subject: [PATCH] add usage section --- Plugin:svn.md | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/Plugin:svn.md b/Plugin:svn.md index 36fc959..fea203f 100644 --- a/Plugin:svn.md +++ b/Plugin:svn.md @@ -1,4 +1,18 @@ +# `svn` plugin + +## 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_dirty | changes in this subversion repo | + +##Usage ###Agnoster theme git-like prompt Enable the svn plugin and add the followind lines to your ```~/.zshrc``` @@ -32,14 +46,3 @@ build_prompt() { prompt_end } ``` - -## 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_dirty | changes in this subversion repo |