[+] NF: Add Tea package manager

Fixes https://github.com/dylanaraps/neofetch/issues/2235
This commit is contained in:
Hykilpikonna 2022-11-15 23:52:28 -05:00
parent 8235a400f0
commit d7c4d493c9
No known key found for this signature in database
GPG key ID: 256CD01A41D7FA26

View file

@ -1832,6 +1832,7 @@ get_packages() {
has bulge && tot bulge list
has pm && tot pm list packages
has squirrel && tot cat /var/squirrel/repos/local/INDEX
has tea && tot find "$HOME/.tea" -maxdepth 2 -mindepth 2 -type d
# Using the dnf package cache is much faster than rpm.
if has dnf && type -p sqlite3 >/dev/null && [[ -f /var/cache/dnf/packages.db ]]; then
@ -1863,7 +1864,7 @@ get_packages() {
has cave && dir "/var/db/paludis/repositories/cross-installed/*/data/*/ \
/var/db/paludis/repositories/installed/data/*/"
has hardman && dir "/var/hpkg/packages/*"
shopt -u nullglob
shopt -u nullglob
}
# Other (Needs complex command)
@ -1927,6 +1928,7 @@ get_packages() {
has brew && dir "$(brew --cellar)/* $(brew --caskroom)/*"
has pkgin && tot pkgin list
has dpkg && tot dpkg-query -f '.\n' -W
has tea && tot find "$HOME/.tea" -maxdepth 2 -mindepth 2 -type d
has nix-store && {
nix-user-pkgs() {