diff options
author | Michael Allen <michael@michaelallen.io> | 2015-08-26 13:09:11 +0100 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-08-26 13:09:11 +0100 |
commit | 1faeef884d3660ca4048892fef0ef78997aad821 (patch) | |
tree | 259e7dc351febff31c33c35445ca0de0d4af3c1b /prompt.bash | |
parent | a93a5552ccb967cfc3b036e4adcecd78dc22ae0f (diff) | |
parent | 2cec6490e26d476f354cb1ee2bbef73ab94e8823 (diff) | |
download | git-sonar-1faeef884d3660ca4048892fef0ef78997aad821.tar.gz git-sonar-1faeef884d3660ca4048892fef0ef78997aad821.zip |
Merge pull request #7 from eyeofhell/master
Bash prompt line length fix
Diffstat (limited to 'prompt.bash')
-rwxr-xr-x | prompt.bash | 8 |
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 |