summaryrefslogtreecommitdiff
path: root/prompt
diff options
context:
space:
mode:
authorLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-15 12:11:38 +0300
committerLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-15 12:40:22 +0300
commit6b3955e220ccb0e875e7eaf742649de1172c82f6 (patch)
treedc6df70f177ed2f35bfecff22591aa78e5f090c6 /prompt
parentbug: new files added files were not exteracted - fixed (diff)
downloadgit-prompt-6b3955e220ccb0e875e7eaf742649de1172c82f6.tar.gz
git-prompt-6b3955e220ccb0e875e7eaf742649de1172c82f6.tar.bz2
git-prompt-6b3955e220ccb0e875e7eaf742649de1172c82f6.zip
color fix
Diffstat (limited to 'prompt')
-rwxr-xr-xprompt3
1 files changed, 1 insertions, 2 deletions
diff --git a/prompt b/prompt
index e96c573..8597f8f 100755
--- a/prompt
+++ b/prompt
@@ -332,8 +332,7 @@ PROMPT_COMMAND='
file_list+="${git_modified_files+$git_modified$git_modified_files }"
file_list+="${git_untracked_files+$git_untracked$git_untracked_files }"
[[ $file_list ]] && file_list=":${file_list}" # ${+ does not works (?)
-
- tail_local="(${head/master/m} $white$head_rev${op+ / $op}$git_color)${file_list}"
+ tail_local="(${head/master/m} $white$head_rev$git_color${op+ / $op}$git_color${file_list}$git_color)"
### fringes (added depended on location)
head_local="${head_local+$git_color $head_local\n}"