detail output color correction
This commit is contained in:
parent
84582af968
commit
d0a97241aa
2
giti
2
giti
@ -92,7 +92,7 @@ if [[ ! $git_diff == "" ]]; then
|
||||
if [[ ! $PROMPT || "$GIT_PROMPT_DETAILS" == "on" ]]; then
|
||||
IFS=$'\n'
|
||||
for ENTRY in $git_diff; do
|
||||
if [[ $ENTRY = "D "* ]] || [[ $ENTRY = "A "* ]] || [[ $ENTRY = "M "* ]] || [[ $ENTRY = "R "* ]]; then
|
||||
if [[ $ENTRY = "D "* ]] || [[ $ENTRY = "A "* ]] || [[ $ENTRY = "M "* ]] || [[ $ENTRY = "MM"* ]] || [[ $ENTRY = "R "* ]]; then
|
||||
echo -e "$git_status_color│ $COLOR_DARKYELLOW$ENTRY"
|
||||
else
|
||||
echo -e "$git_status_color│ $COLOR_YELLOW$ENTRY"
|
||||
|
Loading…
x
Reference in New Issue
Block a user