mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 17:53:49 +01:00
Merge pull request #1105 from Drarok/fix-svn
Fix the svn plugin only outputting the 1st path segment
This commit is contained in:
commit
a36a90b932
@ -16,7 +16,7 @@ function svn_get_repo_name {
|
|||||||
if [ $(in_svn) ]; then
|
if [ $(in_svn) ]; then
|
||||||
svn info | sed -n 's/Repository\ Root:\ .*\///p' | read SVN_ROOT
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user