Commit a98501d2 authored by Mark Mendoza's avatar Mark Mendoza Committed by ncanceill
Browse files

Grep bug in Agnoster

parent d686f8a8
...@@ -126,7 +126,7 @@ prompt_hg() { ...@@ -126,7 +126,7 @@ prompt_hg() {
if `hg st | grep -q "^\?"`; then if `hg st | grep -q "^\?"`; then
prompt_segment red black prompt_segment red black
st='±' st='±'
elif `hg st | grep -q "^(M|A)"`; then elif `hg st | grep -q "^[MA]"`; then
prompt_segment yellow black prompt_segment yellow black
st='±' st='±'
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment