diff options
author | Grigory Petrov <grigory.v.p@gmail.com> | 2015-08-26 14:37:43 +0300 |
---|---|---|
committer | Grigory Petrov <grigory.v.p@gmail.com> | 2015-08-26 14:37:43 +0300 |
commit | 637c573f7324538f27cd8a6869193e1364d75e76 (patch) | |
tree | 28d23017923d34e89098650599a567cce291556d /git-radar | |
parent | 0fe65ed830b5d1cdc5189230139b52f4c8aacfbc (diff) | |
download | git-sonar-637c573f7324538f27cd8a6869193e1364d75e76.tar.gz git-sonar-637c573f7324538f27cd8a6869193e1364d75e76.zip |
Revert "bash prompt length fix: zero-length chars must be placed between \[ and \]"
This reverts commit 0fe65ed830b5d1cdc5189230139b52f4c8aacfbc.
Diffstat (limited to '')
-rwxr-xr-x | git-radar | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -13,22 +13,22 @@ fi dot="$(cd "$(dirname "$([ -L "$0" ] && $READLINK_CMD -f "$0" || echo "$0")")"; pwd)" if [[ -z $@ ]]; then - _git="\[\033[1;30m\]git:(\[\033[0m\]" - _master="\[\033[0;37m\]master\[\033[0m\]" - _my_branch="\[\033[0;37m\]my-branch\[\033[0m\]" - _endgit="\[\033[1;30m\])\[\033[0m\]" - _untracked="\[\033[1;37m\]A\[\033[0m\]" - _added_staged="\[\033[1;32m\]A\[\033[0m\]" - _modified_unstaged="\[\033[1;31m\]M\[\033[0m\]" - _local_up="\[\033[1;32m\]↑\[\033[0m\]" - _2_from_master="\xF0\x9D\x98\xAE 2 \[\033[1;31m\]→\[\033[0m\] " - _diverged_from_master="\xF0\x9D\x98\xAE 2 \[\033[1;33m\]⇄\[\033[0m\] 3 " - _not_upstream="upstream \[\033[1;31m\]⚡\[\033[0m\] " - _detached="\[\033[0;37m\]detached@94eac67\[\033[0m\]" - _conflicted_us="\[\033[1;33m\]U\[\033[0m\]" - _conflicted_them="\[\033[1;33m\]T\[\033[0m\]" - _ahead_master="\xF0\x9D\x98\xAE \[\033[1;32m\]←\[\033[0m\]" - _local_diverged="\[\033[1;33m\]⇵\[\033[0m\]" + _git="\033[1;30mgit:(\033[0m" + _master="\033[0;37mmaster\033[0m" + _my_branch="\033[0;37mmy-branch\033[0m" + _endgit="\033[1;30m)\033[0m" + _untracked="\033[1;37mA\033[0m" + _added_staged="\033[1;32mA\033[0m" + _modified_unstaged="\033[1;31mM\033[0m" + _local_up="\033[1;32m↑\033[0m" + _2_from_master="\xF0\x9D\x98\xAE 2 \033[1;31m→\033[0m " + _diverged_from_master="\xF0\x9D\x98\xAE 2 \033[1;33m⇄\033[0m 3 " + _not_upstream="upstream \033[1;31m⚡\033[0m " + _detached="\033[0;37mdetached@94eac67\033[0m" + _conflicted_us="\033[1;33mU\033[0m" + _conflicted_them="\033[1;33mT\033[0m" + _ahead_master="\xF0\x9D\x98\xAE \033[1;32m←\033[0m" + _local_diverged="\033[1;33m⇵\033[0m" echo "git-radar - a heads up display for git" echo "" echo "examples:" |