From 3a33033120cfd8a30af6b1d753a6da935ee75b3f Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 12 Mar 2020 22:01:30 +0200 Subject: [PATCH] pfetch: Fix potential align issue --- pfetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfetch b/pfetch index 4b5af36..9ca2b75 100755 --- a/pfetch +++ b/pfetch @@ -88,7 +88,7 @@ log() { # Move the cursor backward the length of the *current* info name and # then move it forwards the length of the *longest* info name. This # aligns each info data line. - printf '[%sD[%sC' "${#name}" "${PF_ALIGN-$info_length}" + printf '[%sD[%sC' "${#name}" "${PF_ALIGN:-$info_length}" # Print the info data, color it and strip all leading whitespace # from the string.