Browse Source

Grep bug in Agnoster

Mark Mendoza 10 years ago
parent
commit
a98501d2ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      themes/agnoster.zsh-theme

+ 1 - 1
themes/agnoster.zsh-theme

@@ -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