mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
Grep bug in Agnoster
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user