... | ... |
@@ -13,7 +13,7 @@ function in_svn() { |
13 | 13 |
} |
14 | 14 |
|
15 | 15 |
function svn_get_repo_name { |
16 |
- if [ is_svn ]; then |
|
16 |
+ if [ in_svn ]; then |
|
17 | 17 |
svn info | sed -n 's/Repository\ Root:\ .*\///p' | read SVN_ROOT |
18 | 18 |
|
19 | 19 |
svn info | sed -n "s/URL:\ .*$SVN_ROOT\///p" | sed "s/\/.*$//" |
... | ... |
@@ -21,13 +21,13 @@ function svn_get_repo_name { |
21 | 21 |
} |
22 | 22 |
|
23 | 23 |
function svn_get_rev_nr { |
24 |
- if [ is_svn ]; then |
|
24 |
+ if [ in_svn ]; then |
|
25 | 25 |
svn info 2> /dev/null | sed -n s/Revision:\ //p |
26 | 26 |
fi |
27 | 27 |
} |
28 | 28 |
|
29 | 29 |
function svn_dirty_choose { |
30 |
- if [ is_svn ]; then |
|
30 |
+ if [ in_svn ]; then |
|
31 | 31 |
s=$(svn status 2>/dev/null) |
32 | 32 |
if [ $s ]; then |
33 | 33 |
echo $1 |
... | ... |
@@ -39,4 +39,4 @@ function svn_dirty_choose { |
39 | 39 |
|
40 | 40 |
function svn_dirty { |
41 | 41 |
svn_dirty_choose $ZSH_THEME_SVN_PROMPT_DIRTY $ZSH_THEME_SVN_PROMPT_CLEAN |
42 |
-} |
|
43 | 42 |
\ No newline at end of file |
43 |
+} |