mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-26 16:28:58 +01:00
fix(svn-fast-info): URL-decode svn branch name
This commit is contained in:
parent
596cef84c7
commit
ef3a85cd42
@ -36,7 +36,9 @@ function svn_repo_need_upgrade() {
|
||||
}
|
||||
|
||||
function svn_current_branch_name() {
|
||||
grep '^URL:' <<< "${1:-$(svn info 2> /dev/null)}" | egrep -o '(tags|branches)/[^/]+|trunk'
|
||||
omz_urldecode "$(
|
||||
command grep '^URL:' <<< "${1:-$(svn info 2>/dev/null)}" | command grep -Eo '(tags|branches)/[^/]+|trunk'
|
||||
)"
|
||||
}
|
||||
|
||||
function svn_repo_root_name() {
|
||||
|
Loading…
Reference in New Issue
Block a user