mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 07:56:05 +02:00
Grep bug in Agnoster
This commit is contained in:
1 parent
d686f8a8d0
commit
a98501d2ce
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user