Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

[Feature Request] Implement tea.xyz #2235

Open
DitchComfort opened this issue Nov 15, 2022 · 8 comments
Open

[Feature Request] Implement tea.xyz #2235

DitchComfort opened this issue Nov 15, 2022 · 8 comments

Comments

@DitchComfort
Copy link

Add tea to Neofetch

Would be super cool if it was possible to implement tea (basically brew2), and to show how many packages you have and/or dependencies, etc. Something similar to what is already available with brew and how many packages you have installed on your system.

https://tea.xyz

@hykilpikonna
Copy link

Is there a command-line option to list installed packages?

@hykilpikonna
Copy link

Ok so after some research, tea is more like a virtual environment and doesn't install packages globally in the system. So there's no way to tell if a package is installed... (https://github.com/teaxyz/cli/blob/7a303d3a72defca7a5321341a8a7e11e18404be8/README.md?plain=1#L53)

hykilpikonna added a commit to hykilpikonna/hyfetch that referenced this issue Nov 16, 2022
@hykilpikonna
Copy link

Okay, added it by finding directories in the local folder find ~/.tea -maxdepth 2 -mindepth 2 -type d

image

@hykilpikonna
Copy link

Thank you for reporting the issue!

This issue is fixed in hyfetch by commit d7c4d493. This repo (dylanaraps/neofetch) seems to be no longer maintained.

HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many issues and pull requests.

Read the "Running Updated Original Neofetch" section for more info!

@DitchComfort
Copy link
Author

Hi and thank you for really trying. I also can't seem to update to the latest nightly. Probably I doing something wrong…

@DitchComfort
Copy link
Author

I think you should use another command to count the actual packages with tea, because there are a couple of folders you don’t want in your final output. Try and replace with something like this:

ls ~/.tea | egrep -v '^tea.xyz$|^tmp$'| wc -l

@hykilpikonna
Copy link

ls ~/.tea | egrep -v '^tea.xyz$|^tmp$'| wc -l

That wouldn't give an accurate estimate though, because there could be multiple packages under a same organization (e.g. the command would show sourceware.org as one package, but there are two packages (bzip2 and libffi) under the sourceware.org directory.

@DitchComfort
Copy link
Author

Hmm okey, yes you probably right :) I don't know how to really count then.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants