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
3eae652a
Commit
3eae652a
authored
Jun 08, 2011
by
Adam Lindberg
Browse files
Fix MM lines being read correctly
parent
d99284f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/sunrise.zsh-theme
View file @
3eae652a
...
@@ -49,7 +49,7 @@ custom_git_prompt_status() {
...
@@ -49,7 +49,7 @@ custom_git_prompt_status() {
if $(echo "$INDEX" | grep '^R' &> /dev/null); then
if $(echo "$INDEX" | grep '^R' &> /dev/null); then
STATUS="$ZSH_THEME_GIT_PROMPT_STAGED_RENAMED$STATUS"
STATUS="$ZSH_THEME_GIT_PROMPT_STAGED_RENAMED$STATUS"
fi
fi
if $(echo "$INDEX" | grep '^M
' &> /dev/null); then
if $(echo "$INDEX" | grep '^M' &> /dev/null); then
STATUS="$ZSH_THEME_GIT_PROMPT_STAGED_MODIFIED$STATUS"
STATUS="$ZSH_THEME_GIT_PROMPT_STAGED_MODIFIED$STATUS"
fi
fi
if $(echo "$INDEX" | grep '^A' &> /dev/null); then
if $(echo "$INDEX" | grep '^A' &> /dev/null); then
...
...
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