packages: Remove find usage from brew
This commit is contained in:
parent
c03c9e1248
commit
9bf46946b6
2
neofetch
2
neofetch
|
@ -1308,7 +1308,7 @@ 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 "brew" "$(files=(/usr/local/Cellar/*) && ((packages+=${#files[@]}))) - 1"
|
||||
pkgs "pkgin" "$(pkgin list | wc -l)"
|
||||
;;
|
||||
|
||||
|
|
Reference in New Issue