summaryrefslogtreecommitdiffstats
path: root/prompt.bash
diff options
context:
space:
mode:
Diffstat (limited to 'prompt.bash')
-rwxr-xr-xprompt.bash11
1 files changed, 8 insertions, 3 deletions
diff --git a/prompt.bash b/prompt.bash
index 410989c..e39a1b1 100755
--- a/prompt.bash
+++ b/prompt.bash
@@ -4,7 +4,12 @@ dot="$(cd "$(dirname "$0")"; pwd)"
source "$dot/git-base.sh"
if is_repo; then
- git_prefix="\033[1;30mgit:(\033[0m"
- git_suffix="\033[1;30m)\033[0m"
- printf " $git_prefix$(bash_color_remote_commits;readable_branch_name;bash_color_local_commits)$git_suffix$(bash_color_changes_status)"
+ printf " \033[1;30mgit:(\033[0m"
+ bash_color_remote_commits
+ printf "\033[0;37m"
+ readable_branch_name
+ printf "\033[0m"
+ bash_color_local_commits
+ printf "\033[1;30m)\033[0m"
+ bash_color_changes_status
fi