From ca3291133646ce18155cfc5840385f1df9ee2710 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Mon, 5 Aug 2019 18:04:24 +0200 Subject: [PATCH 1/2] packages: Check brew on Linux --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index f95b4e39..aace00e0 100755 --- a/neofetch +++ b/neofetch @@ -1347,6 +1347,7 @@ get_packages() { # shellcheck disable=SC2086 { shopt -s nullglob + has "brew" && dir $(brew --cellar)/* has "emerge" && dir ${br_prefix}/var/db/pkg/*/*/ has "Compile" && dir ${br_prefix}/Programs/*/ has "eopkg" && dir ${br_prefix}/var/lib/eopkg/package/* From f9fc22eef0409147855860a3082ad4db9241f5d4 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Fri, 9 Aug 2019 14:59:10 +0200 Subject: [PATCH 2/2] packages: Quote --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index aace00e0..ef7ac1fa 100755 --- a/neofetch +++ b/neofetch @@ -1347,7 +1347,7 @@ get_packages() { # shellcheck disable=SC2086 { shopt -s nullglob - has "brew" && dir $(brew --cellar)/* + has "brew" && dir "$(brew --cellar)"/* has "emerge" && dir ${br_prefix}/var/db/pkg/*/*/ has "Compile" && dir ${br_prefix}/Programs/*/ has "eopkg" && dir ${br_prefix}/var/lib/eopkg/package/*