mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-03 16:51:29 +00:00
packages: Remove find usage from brew
This commit is contained in:
2
neofetch
2
neofetch
@@ -1308,7 +1308,7 @@ get_packages() {
|
|||||||
|
|
||||||
"Mac OS X" | "MINIX")
|
"Mac OS X" | "MINIX")
|
||||||
pkgs "port" "$(port installed | wc -l) - 1"
|
pkgs "port" "$(port installed | wc -l) - 1"
|
||||||
pkgs "brew" "$(find /usr/local/Cellar -maxdepth 1 | wc -l) - 1"
|
pkgs "brew" "$(files=(/usr/local/Cellar/*) && ((packages+=${#files[@]}))) - 1"
|
||||||
pkgs "pkgin" "$(pkgin list | wc -l)"
|
pkgs "pkgin" "$(pkgin list | wc -l)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user