jorgebucaran / hydro

Ultra-pure, lag-free prompt with async Git status—just for Fish
MIT License
697 stars 53 forks source link

Support Nixos Specific prompts #49

Open LDprg opened 1 year ago

LDprg commented 1 year ago

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!

lgehr commented 1 year ago

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 commented 1 year ago

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

LDprg commented 1 year ago

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

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

jorgebucaran commented 1 year ago

@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! 💯