-
Notifications
You must be signed in to change notification settings - Fork 12
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
Interest in "show current shell packages" feature? #74
Comments
Hi Chance! We met at NixCon, right? I'm not totally against this feature, although I personally don't really see the value in it. Maybe we could add an environment variable with a list of loaded packages and use that to construct a prompt by e.g. adding another function to the shell templates? |
Yes, we did! Hello again! 👋
I appreciate your thoughts on the matter. To me, I think the value really comes when juggling multiple shells. In that case, I can easily tell at a glance whether that shell has extra executables available (from Of lesser(?) importance, it also helps me know how many shells "deep" I am / the number of Whether either of those should actually be considered of value is certainly subjective. I suppose I could change my workflow such that such a feature would be less valuable, potentially by:
That certainly seems plausible! I would be happy to give it a try and see how it goes given sufficient time and sustained interest.1 Thanks for your time! Footnotes
|
Sounds good. I do wish that Nix had a "how deep in shells am I" feature. |
The README currently states:
Would contributions to add this feature (showing the current shell packages) to
nix-your-shell
be desired?If showing the current shell packages is out-of-scope, I would certainly appreciate it should anyone be able to point me towards some kind of workaround or better way of accomplishing this.
Thanks!
The text was updated successfully, but these errors were encountered: