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
52733cb3
Commit
52733cb3
authored
Jan 26, 2012
by
Tadaya Tsuyukubo
Browse files
prompt git-remove as deleted
parent
9d92987b
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/git.zsh
View file @
52733cb3
...
...
@@ -54,6 +54,8 @@ git_prompt_status() {
fi
if
$(
echo
"
$INDEX
"
|
grep
'^ D '
&> /dev/null
)
;
then
STATUS
=
"
$ZSH_THEME_GIT_PROMPT_DELETED$STATUS
"
elif
$(
echo
"
$INDEX
"
|
grep
'^D '
&> /dev/null
)
;
then
STATUS
=
"
$ZSH_THEME_GIT_PROMPT_DELETED$STATUS
"
elif
$(
echo
"
$INDEX
"
|
grep
'^AD '
&> /dev/null
)
;
then
STATUS
=
"
$ZSH_THEME_GIT_PROMPT_DELETED$STATUS
"
fi
...
...
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