Browse Source

Merge pull request #1105 from Drarok/fix-svn

Fix the svn plugin only outputting the 1st path segment
Robby Russell 13 years ago
parent
commit
a36a90b932
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/svn/svn.plugin.zsh

+ 1 - 1
plugins/svn/svn.plugin.zsh

@@ -16,7 +16,7 @@ function svn_get_repo_name {
     if [ $(in_svn) ]; then
         svn info | sed -n 's/Repository\ Root:\ .*\///p' | read SVN_ROOT
     
-        svn info | sed -n "s/URL:\ .*$SVN_ROOT\///p" | sed "s/\/.*$//"
+        svn info | sed -n "s/URL:\ .*$SVN_ROOT\///p"
     fi
 }