From b951600d001107700e4f54282fa913eb88acbd6c Mon Sep 17 00:00:00 2001 From: Fred Date: Mon, 12 Dec 2022 21:20:57 +0800 Subject: [PATCH] Keep the default memory unit MiB, despite internal logic change --- neofetch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 734269b9..6e1caa93 100755 --- a/neofetch +++ b/neofetch @@ -3233,7 +3233,10 @@ get_memory() { memory_unit_divider=$((1024 * 1024)) ;; - mib) + kib) + ;; + + *) mem_label=MiB memory_unit_divider=1024 ;;