summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git-prompt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-prompt.sh b/git-prompt.sh
index 806e9e7..cac80f8 100644
--- a/git-prompt.sh
+++ b/git-prompt.sh
@@ -4,7 +4,7 @@
default_domain="lvvnet" # default domain is not deplayed, remote host is alwais shown
# dir, rc, root color
- if [ "`tput colors`" -ge 8 ]; then # if terminal supports colors
+ if [ 0`tput colors` -ge 8 ]; then # if terminal supports colors
dir_color='CYAN'
rc_color='red'
root_id_color='magenta'