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