From e074365cc85599f0ee80b42815ccf7364c7d6d51 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Tue, 11 Mar 2025 11:11:03 +0100 Subject: [PATCH] feat: update println function to support an additional argument for improved formatting --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 257b632..ae1371d 100755 --- a/setup.sh +++ b/setup.sh @@ -12,7 +12,7 @@ readonly SETUP_MARKER="${HOME}/.dotfiles-setup" # Setup mark #Color print function, usage: println "message" "color" println() { color=$2 - printfe "%s\n" $color "$1" + printfe "%s\n" $color "$1" true } # print colored with printf (args: format, color, message ...)