1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 02:20:09 +00:00

fix(svn): fix sed call in svn_get_rev_nr (#10590)

This commit is contained in:
Mykola Krachkovsky 2022-01-14 16:28:39 +02:00 committed by GitHub
parent 035c856c2c
commit 1e277553bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {