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