summaryrefslogtreecommitdiffstats
path: root/test-commits.sh
diff options
context:
space:
mode:
authorGrigory Petrov <grigory.v.p@gmail.com>2015-08-26 14:37:43 +0300
committerGrigory Petrov <grigory.v.p@gmail.com>2015-08-26 14:37:43 +0300
commit637c573f7324538f27cd8a6869193e1364d75e76 (patch)
tree28d23017923d34e89098650599a567cce291556d /test-commits.sh
parent0fe65ed830b5d1cdc5189230139b52f4c8aacfbc (diff)
downloadgit-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-xtest-commits.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test-commits.sh b/test-commits.sh
index fda4ae3..0cca0e5 100755
--- a/test-commits.sh
+++ b/test-commits.sh
@@ -374,9 +374,9 @@ test_zsh_and_bash_local_commits() {
local zsh_both="%{[yellow]%}⇵%{%}"
local zsh_down="%{[red]%}↓%{%}"
- printf -v bash_up "\[\033[1;32m\]↑\[\033[0m\]"
- printf -v bash_both "\[\033[1;33m\]⇵\[\033[0m\]"
- printf -v bash_down "\[\033[1;31m\]↓\[\033[0m\]"
+ printf -v bash_up "\033[1;32m↑\033[0m"
+ printf -v bash_both "\033[1;33m⇵\033[0m"
+ printf -v bash_down "\033[1;31m↓\033[0m"
cd_to_tmp "remote"