Skip to content

Commit

Permalink
Merge pull request ohmyzsh#1105 from Drarok/fix-svn
Browse files Browse the repository at this point in the history
Fix the svn plugin only outputting the 1st path segment
  • Loading branch information
robbyrussell committed May 21, 2012
2 parents e6fc2c6 + e2f7623 commit a36a90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/svn/svn.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit a36a90b

Please sign in to comment.