Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
a98501d2
Commit
a98501d2
authored
Apr 20, 2015
by
Mark Mendoza
Committed by
ncanceill
Jun 10, 2015
Browse files
Grep bug in Agnoster
parent
d686f8a8
Changes
1
Show whitespace changes
Inline
Side-by-side
themes/agnoster.zsh-theme
View file @
a98501d2
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment