[+] NF: Add Tea package manager
Fixes https://github.com/dylanaraps/neofetch/issues/2235
This commit is contained in:
parent
8235a400f0
commit
d7c4d493c9
1 changed files with 3 additions and 1 deletions
4
neofetch
4
neofetch
|
@ -1832,6 +1832,7 @@ get_packages() {
|
||||||
has bulge && tot bulge list
|
has bulge && tot bulge list
|
||||||
has pm && tot pm list packages
|
has pm && tot pm list packages
|
||||||
has squirrel && tot cat /var/squirrel/repos/local/INDEX
|
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.
|
# 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
|
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/*/ \
|
has cave && dir "/var/db/paludis/repositories/cross-installed/*/data/*/ \
|
||||||
/var/db/paludis/repositories/installed/data/*/"
|
/var/db/paludis/repositories/installed/data/*/"
|
||||||
has hardman && dir "/var/hpkg/packages/*"
|
has hardman && dir "/var/hpkg/packages/*"
|
||||||
shopt -u nullglob
|
shopt -u nullglob
|
||||||
}
|
}
|
||||||
|
|
||||||
# Other (Needs complex command)
|
# Other (Needs complex command)
|
||||||
|
@ -1927,6 +1928,7 @@ get_packages() {
|
||||||
has brew && dir "$(brew --cellar)/* $(brew --caskroom)/*"
|
has brew && dir "$(brew --cellar)/* $(brew --caskroom)/*"
|
||||||
has pkgin && tot pkgin list
|
has pkgin && tot pkgin list
|
||||||
has dpkg && tot dpkg-query -f '.\n' -W
|
has dpkg && tot dpkg-query -f '.\n' -W
|
||||||
|
has tea && tot find "$HOME/.tea" -maxdepth 2 -mindepth 2 -type d
|
||||||
|
|
||||||
has nix-store && {
|
has nix-store && {
|
||||||
nix-user-pkgs() {
|
nix-user-pkgs() {
|
||||||
|
|
Loading…
Reference in a new issue