Grep bug in Agnoster

This commit is contained in:
Mark Mendoza 2015-04-20 01:29:16 -07:00
commit 9e0ce25aff

View file

@ -126,7 +126,7 @@ prompt_hg() {
if `hg st | grep -q "^\?"`; then
prompt_segment red black
st='±'
elif `hg st | grep -q "^(M|A)"`; then
elif `hg st | grep -q "^[MA]"`; then
prompt_segment yellow black
st='±'
else