From 1c3db96a8daec9f1800b7aa1eb7ba918b60654ee Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 26 Nov 2016 16:20:22 +1100 Subject: [PATCH] Color Blocks: Fix issue when cols function is called more than once --- neofetch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neofetch b/neofetch index a935b9e4..b9eac536 100755 --- a/neofetch +++ b/neofetch @@ -1847,6 +1847,8 @@ get_cols() { cols="${cols%%'nl'}" cols="${cols//nl/\\n\\033[${text_padding}C${zws}}" fi + + unset blocks blocks2 } # IMAGES