summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonid Volnitsky <Leonid@Volnitsky.com>2011-06-28 11:05:18 +0300
committerLeonid Volnitsky <Leonid@Volnitsky.com>2011-06-28 11:05:18 +0300
commit2b136d3264fdd235dc2e5958bf948ba1861a6e53 (patch)
tree3dcb7f55aebbd06fa0d78808e3397b0a6d302418
parentMerge branch 'master' of github.com:lvv/git-prompt (diff)
downloadgit-prompt-2b136d3264fdd235dc2e5958bf948ba1861a6e53.tar.gz
git-prompt-2b136d3264fdd235dc2e5958bf948ba1861a6e53.tar.bz2
git-prompt-2b136d3264fdd235dc2e5958bf948ba1861a6e53.zip
changed hex color again: bright-black (makes gray)
too maney terminals to not support DIM color
-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}