From f71989daf37e8d1295a70184cd0da95d22535e23 Mon Sep 17 00:00:00 2001 From: Diogo Alexsander Cavilha Date: Tue, 11 Dec 2018 11:19:23 -0200 Subject: [PATCH] :pencil: Change status icon Change status icon for non colored styles when there are staged files. --- CHANGELOG.md | 4 ++++ help.sh | 2 +- prompt_styles/human-dark.sh | 2 +- prompt_styles/human.sh | 2 +- prompt_styles/simple-double-line.sh | 2 +- prompt_styles/simple.sh | 2 +- version.sh | 2 +- 7 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44fd849..235f1cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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). diff --git a/help.sh b/help.sh index 9aea39a..b9d53d2 100644 --- a/help.sh +++ b/help.sh @@ -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. diff --git a/prompt_styles/human-dark.sh b/prompt_styles/human-dark.sh index fcbf9f3..c147b5f 100644 --- a/prompt_styles/human-dark.sh +++ b/prompt_styles/human-dark.sh @@ -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 diff --git a/prompt_styles/human.sh b/prompt_styles/human.sh index fbfc936..45cc723 100644 --- a/prompt_styles/human.sh +++ b/prompt_styles/human.sh @@ -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 diff --git a/prompt_styles/simple-double-line.sh b/prompt_styles/simple-double-line.sh index 10b1087..926e9de 100644 --- a/prompt_styles/simple-double-line.sh +++ b/prompt_styles/simple-double-line.sh @@ -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 diff --git a/prompt_styles/simple.sh b/prompt_styles/simple.sh index e9aafeb..3325e9e 100644 --- a/prompt_styles/simple.sh +++ b/prompt_styles/simple.sh @@ -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 diff --git a/version.sh b/version.sh index d4f990f..526ef8f 100644 --- a/version.sh +++ b/version.sh @@ -3,4 +3,4 @@ # Author: Diogo Alexsander Cavilha # Date: 11.17.2017 -FANCYGIT_VERSION="5.2.3" +FANCYGIT_VERSION="5.2.7"