From f2d4f3eb5e51f2040e17bdd236a8bb563a1ed79b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 25 Sep 2019 11:00:38 +0300 Subject: [PATCH] misc: cleanup --- pfetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfetch b/pfetch index 1809875..702af2e 100755 --- a/pfetch +++ b/pfetch @@ -807,7 +807,7 @@ get_ascii() { # The " " acts as the padding between the ascii art and the text as # it appends 3 spaces to the end of each line. while read -r line; do - ascii_height=$((ascii_height + 1)) + : $((ascii_height+=1)) ascii_width=$((${#line} > ascii_width ? ${#line} : ascii_width)) # Using '<<-EOF' is the only way to loop over a command's