From 6b46e941cd91eaac001eba8e16189592c954d6f3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 28 Sep 2019 15:02:44 +0300 Subject: [PATCH] fix more minixisms --- pfetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfetch b/pfetch index ccc7ad6..446d311 100755 --- a/pfetch +++ b/pfetch @@ -1160,7 +1160,7 @@ main() { # Print '$cursor_pos' amount of newlines to correctly position the # cursor. This used to be a 'printf $(seq X X)' however 'seq' is only # typically available (by default) on GNU based systems! - while [ "${i:-0}" -le "${cursor_pos:-0}" ]; do + while [ "${i:=0}" -le "${cursor_pos:-0}" ]; do printf '\n' i=$((i + 1)) done >&6