From 98e9081cd75adaf58ca7ccac721e99eb88044cdd Mon Sep 17 00:00:00 2001 From: Michael Allen Date: Tue, 11 Aug 2015 17:37:10 +0100 Subject: Switch to printf for it's reliability --- test-commits.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test-commits.sh') 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" -- cgit v1.2.3