File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2101,6 +2101,13 @@ get_packages() {
2101
2101
fi
2102
2102
fi
2103
2103
2104
+ if has pkgx && [[ -d "$HOME/.local/bin" ]]; then
2105
+ # https://github.com/pkgxdev/pkgx/issues/985#issuecomment-2080999008
2106
+ _pkgxpkgs="$(grep -rIhoP 'exec pkgx \+\K[^ ]+' "$HOME/.local/bin" | sort -u)"
2107
+ tot echo "$_pkgxpkgs"
2108
+ unset _pkgxpkgs
2109
+ fi
2110
+
2104
2111
# OS-specific package managers.
2105
2112
case $os in
2106
2113
Linux|BSD|"iPhone OS"|Solaris|illumos|Interix)
@@ -2129,7 +2136,6 @@ get_packages() {
2129
2136
has pm && tot-safe pm list packages
2130
2137
has evox && tot cat /var/evox/packages/DB
2131
2138
has squirrel && tot ls /var/packages
2132
- has pkgx && tot find "$HOME/.pkgx" -maxdepth 2 -mindepth 2 -type d
2133
2139
has anise && tot anise s --installed
2134
2140
has am && pac "$(am -f --less)"
2135
2141
@@ -2275,7 +2281,6 @@ get_packages() {
2275
2281
has brew && dir "$(brew --cellar)/* $(brew --caskroom)/*"
2276
2282
has pkgin && tot pkgin list
2277
2283
has dpkg && tot dpkg-query -f '.\n' -W
2278
- has tea && tot find "$HOME/.tea" -maxdepth 2 -mindepth 2 -type d
2279
2284
2280
2285
has nix-store && {
2281
2286
nix-user-pkgs() {
You can’t perform that action at this time.
0 commit comments