From 75f845c7afec5019396a719dc7ff8be61fd136e3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 2 Jun 2018 14:52:08 +1000 Subject: [PATCH] packages: refactor --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 1f291e85..95f7f220 100755 --- a/neofetch +++ b/neofetch @@ -1307,8 +1307,8 @@ get_packages() { ;; "Mac OS X" | "MINIX") - pkgs "port" "$(port installed | wc -l) - 1)" - pkgs "brew" "$(find /usr/local/Cellar -maxdepth 1 | wc -l) - 1)" + pkgs "port" "$(port installed | wc -l) - 1" + pkgs "brew" "$(find /usr/local/Cellar -maxdepth 1 | wc -l) - 1" pkgs "pkgin" "$(pkgin list | wc -l)" ;;