summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-12 08:58:37 +0200
committerErich Eckner <git@eckner.net>2016-04-12 08:59:19 +0200
commit7668b1d44887fd0261b8ca5f5d9e3cbd43603905 (patch)
tree343bcbb94ae77af034b5313f3bbcf59edf15fe58
parent5f04b1fee4768b38e15952b87f39304b9612c5e6 (diff)
downloadbash-git-prompt-0.4.tar.xz
bessere Erkennung von farbigen Terminalsv0.4
-rw-r--r--bash-git-prompt2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash-git-prompt b/bash-git-prompt
index e3159fc..44bd8ea 100644
--- a/bash-git-prompt
+++ b/bash-git-prompt
@@ -2,7 +2,7 @@
set -o pipefail
-[[ "$TERM" = *-color ]] && mitFarbe=true || mitFarbe=false
+[[ "$TERM" = *color ]] && mitFarbe=true || mitFarbe=false
[ -z "$PS1Start" ] && [ -z "$PS1Ende" ] &&
if echo "$PS1" | grep -q "\S"