Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix-shell packages #6103

Open
GimmeDataNow opened this issue Jul 19, 2024 · 0 comments
Open

nix-shell packages #6103

GimmeDataNow opened this issue Jul 19, 2024 · 0 comments
Labels
✨ enhancement A new feature implementation.

Comments

@GimmeDataNow
Copy link

GimmeDataNow commented Jul 19, 2024

Feature Request

It would be nice if the nix-shell module also displayed the packages that were provided.
Meaning that the prompt would say pure shell with '<packages>' when entering a nix-shell using nix-shell -p <package>.
I am aware this might be hard, because you might need to intercept the nix-shell command. But I thought it might be a nice extension to the nix-shell module.

If this is outside the scope of starship or too annoying to implement please close this issue (no need for an explanation).

Is your feature request related to a problem? Please describe.

Unrelated

Describe the solution you'd like

I'd like for the prompt to display something like pure shell with '<packages>'. Where <packages> are the packages provided when running nix-shell -p <packages>

Describe alternatives you've considered

  • A script that is called by aliasing nix-shell and piping the output to starship. (Unsure on how to do that exactly)
@GimmeDataNow GimmeDataNow added the ✨ enhancement A new feature implementation. label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement A new feature implementation.
Projects
None yet
Development

No branches or pull requests

1 participant