From 9ad63453072249023caac3fefa2ed88869168e5b Mon Sep 17 00:00:00 2001 From: Devin Palmer Date: Wed, 25 Aug 2021 14:41:17 -0500 Subject: [PATCH] Query homebrew for package list on macOS --- pfetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfetch b/pfetch index fb95434..6e63135 100755 --- a/pfetch +++ b/pfetch @@ -604,7 +604,7 @@ get_pkgs() { has dpkg && dpkg-query -f '.\n' -W # Directories containing packages. - has brew && printf '%s\n' /usr/local/Cellar/* + has brew && printf '%s\n' "$(brew --cellar)/"* # 'port' prints a single line of output to 'stdout' # when no packages are installed and exits with