From 2b5926292815b12d1dc5dfa1f439b957934acb07 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Tue, 16 May 2017 15:04:26 +0700 Subject: [PATCH] Memory [IRIX]: Shellcheck compliance --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 918c4c24..81f8b736 100755 --- a/neofetch +++ b/neofetch @@ -1298,8 +1298,8 @@ get_memory() { "IRIX") mem_stat=($(pmem | head -1)) - mem_total="$((${mem_stat[3]} / 1024))" - mem_free="$((${mem_stat[5]} / 1024))" + mem_total="$((mem_stat[3] / 1024))" + mem_free="$((mem_stat[5] / 1024))" mem_used="$((mem_total - mem_free))" ;; esac