Code Review
/
common
/
bash_it.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
eb40413
)
fixed: hg branch grep+awk problem #197
author
Conrado Buhrer
<conrado@buhrer.net>
Wed, 10 Apr 2013 16:57:21 +0000
(13:57 -0300)
committer
Conrado Buhrer
<conrado@buhrer.net>
Wed, 10 Apr 2013 16:57:21 +0000
(13:57 -0300)
themes/base.theme.bash
patch
|
blob
|
history
diff --git
a/themes/base.theme.bash
b/themes/base.theme.bash
index
18c6c9d
..
5a5edd3
100644
(file)
--- a/
themes/base.theme.bash
+++ b/
themes/base.theme.bash
@@
-108,8
+108,8
@@
function hg_prompt_vars {
fi
SCM_PREFIX=${HG_THEME_PROMPT_PREFIX:-$SCM_THEME_PROMPT_PREFIX}
SCM_SUFFIX=${HG_THEME_PROMPT_SUFFIX:-$SCM_THEME_PROMPT_SUFFIX}
- SCM_BRANCH=$(hg summary 2> /dev/null | grep branch | awk '{print $2}')
- SCM_CHANGE=$(hg summary 2> /dev/null | grep parent | awk '{print $2}')
+ SCM_BRANCH=$(hg summary 2> /dev/null | grep branch
:
| awk '{print $2}')
+ SCM_CHANGE=$(hg summary 2> /dev/null | grep parent
:
| awk '{print $2}')
}
function rvm_version_prompt {