mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 23:30:08 +00:00
Whitespace cleanup.
This commit is contained in:
parent
d750e7d9e3
commit
79e620c392
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ function in_svn() {
|
||||||
function svn_get_repo_name {
|
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"
|
svn info | sed -n "s/URL:\ .*$SVN_ROOT\///p"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ function svn_dirty_choose {
|
||||||
svn status 2> /dev/null | grep -Eq '^\s*[ACDIM!?L]'
|
svn status 2> /dev/null | grep -Eq '^\s*[ACDIM!?L]'
|
||||||
if [ $pipestatus[-1] -ne 0 ]; then
|
if [ $pipestatus[-1] -ne 0 ]; then
|
||||||
echo $1
|
echo $1
|
||||||
else
|
else
|
||||||
echo $2
|
echo $2
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue