Skip to content

Commit

Permalink
📝 Change status icon
Browse files Browse the repository at this point in the history
Change status icon for non colored styles when there are staged files.
  • Loading branch information
Diogo Alexsander Cavilha committed Dec 11, 2018
1 parent 61222db commit f71989d
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Fancy Git Changelog

### v5.2.7

- Change status icon for simple style.

### v5.2.6

- Add new human dark style. (Useful when using light scheme color on terminal).
Expand Down
2 changes: 1 addition & 1 deletion help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ echo " Fancy Git v$FANCYGIT_VERSION - $fg_current_year by Diogo Alexsander Cavil
? = There are untracked files.
+- = There are modified files.
> = There are added files waiting to be committed.
= There are added files waiting to be committed.
~ = There are stashes.
N^ = There are N commits waiting to be pushed.
Expand Down
2 changes: 1 addition & 1 deletion prompt_styles/human-dark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fg_branch_status() {

if [ "$staged_files" != "" ]
then
info="${info}${light_green}>${none} "
info="${info}${light_green}${none} "
fi

if [ "$info" != "" ]; then
Expand Down
2 changes: 1 addition & 1 deletion prompt_styles/human.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fg_branch_status() {

if [ "$staged_files" != "" ]
then
info="${info}${light_green}>${none} "
info="${info}${light_green}${none} "
fi

if [ "$info" != "" ]; then
Expand Down
2 changes: 1 addition & 1 deletion prompt_styles/simple-double-line.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fg_branch_status() {

if [ "$staged_files" != "" ]
then
info="${info}${light_green}>${none} "
info="${info}${light_green}${none} "
fi

if [ "$info" != "" ]; then
Expand Down
2 changes: 1 addition & 1 deletion prompt_styles/simple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fg_branch_status() {

if [ "$staged_files" != "" ]
then
info="${info}${light_green}>${none} "
info="${info}${light_green}${none} "
fi

if [ "$info" != "" ]; then
Expand Down
2 changes: 1 addition & 1 deletion version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Author: Diogo Alexsander Cavilha <[email protected]>
# Date: 11.17.2017

FANCYGIT_VERSION="5.2.3"
FANCYGIT_VERSION="5.2.7"

0 comments on commit f71989d

Please sign in to comment.