diff options
author | Michael Allen <michael@michaelallen.io> | 2015-08-11 17:37:10 +0100 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-08-11 17:38:45 +0100 |
commit | 98e9081cd75adaf58ca7ccac721e99eb88044cdd (patch) | |
tree | 9db338ccbc09380ccda2cf2e2b353780ed7282dd /test-commits.sh | |
parent | 284a88a8607cc7077aec376ca5f4b0c1b7e12c70 (diff) | |
download | git-sonar-98e9081cd75adaf58ca7ccac721e99eb88044cdd.tar.gz git-sonar-98e9081cd75adaf58ca7ccac721e99eb88044cdd.zip |
Switch to printf for it's reliability
Diffstat (limited to 'test-commits.sh')
-rwxr-xr-x | test-commits.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test-commits.sh b/test-commits.sh index 083c38c..d8918f0 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' + local bash_up="\033[1;32m↑\033[0m" + local bash_both="\033[1;33m⇵\033[0m" + local bash_down="\033[1;31m↓\033[0m" cd_to_tmp "remote" |