summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git-prompt.conf2
-rwxr-xr-xgit-prompt.sh6
2 files changed, 2 insertions, 6 deletions
diff --git a/git-prompt.conf b/git-prompt.conf
index 81ddec9..36f4e84 100644
--- a/git-prompt.conf
+++ b/git-prompt.conf
@@ -88,7 +88,7 @@
# untracked_vcs_color=BLUE # Untracked files:
# op_vcs_color=MAGENTA
# detached_vcs_color=RED
-# hex_vcs_color=dim
+# hex_vcs_color=BLACK # git version id: bright black - should be displayed as gray
# :vim:ft=sh ts=8 sw=8 et:
diff --git a/git-prompt.sh b/git-prompt.sh
index 28e2de6..f122038 100755
--- a/git-prompt.sh
+++ b/git-prompt.sh
@@ -54,11 +54,7 @@
op_vcs_color=${op_vcs_color:-MAGENTA}
detached_vcs_color=${detached_vcs_color:-RED}
- if [[ $OSTYPE == "linux-gnu" ]] ; then # no linux OSs do not support extra colors
- hex_vcs_color=${hex_vcs_color:-dim}
- else
- hex_vcs_color=${hex_vcs_color:-colors_reset}
- fi
+ hex_vcs_color=${hex_vcs_color:-BLACK} # gray
max_file_list_length=${max_file_list_length:-100}