hydro icon indicating copy to clipboard operation
hydro copied to clipboard

Support Nixos Specific prompts

Open LDprg opened this issue 1 year ago • 4 comments

It would be nice if this prompt automatically displays Nixos relevant environments like described here in "Show that you are in a nix-shell".

Also great fish prompt!

LDprg avatar Oct 30 '23 18:10 LDprg

Hey @jorgebucaran Are you interested in this feature? I would be willing to sketch up a PR.

My idea to have a setting to disable this feature as well as a setting to change what should be displayed. Maybe as a default a symbol would be sufficient.

lgehr avatar Nov 08 '23 16:11 lgehr

But probably the addon PR #37 will make this obsolete.

lgehr avatar Nov 08 '23 19:11 lgehr

But probably the addon PR #37 will make this obsolete.

#37 seems a bit abandoned. Last commit was a year ago.

LDprg avatar Nov 09 '23 07:11 LDprg

@lgehr Yes, that's correct.

@LDprg Unfortunately, I haven't found a method to implement addons without progressively slowing down your shell. However, I am totally exaggerating; even with addons, Hydro would still be sufficiently quick for most users, myself included, and those obsessed with prompt performance. The main reason I haven't followed through with it, is because my commitment to prompt performance in this project. If you're open to some trade-offs, you can definitely install jorgebucaran/hydro@addons with Fisher and use it! 💯

jorgebucaran avatar Nov 09 '23 14:11 jorgebucaran