mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-26 14:30:12 +08:00
fix(svn): fix sed call in svn_get_rev_nr
(#10590)
This commit is contained in:
parent
035c856c2c
commit
1e277553bc
@ -55,7 +55,7 @@ svn_get_branch_name() {
|
||||
}
|
||||
|
||||
svn_get_rev_nr() {
|
||||
sed -n 's/Revision:\ //p' "${1:-$(LANG= svn info 2>/dev/null)}"
|
||||
sed -n 's/Revision:\ //p' <<<"${1:-$(LANG= svn info 2>/dev/null)}"
|
||||
}
|
||||
|
||||
svn_dirty() {
|
||||
|
Loading…
Reference in New Issue
Block a user