made OS X packages SUPER fast
This commit is contained in:
parent
aff2e634c4
commit
5ca8f8cc81
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -695,8 +695,8 @@ getpackages () {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if type -p brew >/dev/null 2>&1; then
|
if type -p brew >/dev/null 2>&1; then
|
||||||
brew_packages=$(brew list -1 2>/dev/null | wc -l)
|
brew_packages=$(find /usr/local/Cellar -maxdepth 1 2>/dev/null | wc -l)
|
||||||
packages=$((packages + brew_packages))
|
packages=$((packages + $((brew_packages - 1))))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if type -p pkgin >/dev/null 2>&1; then
|
if type -p pkgin >/dev/null 2>&1; then
|
||||||
|
|
Loading…
Reference in a new issue