Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
command-not-found: suggest nix-shell as well #74993
Motivation for this change
Yes, though only somewhat: merging this before #74789 might be fine (it would be an easy-to-resolve conflict there, and make the feature disappear again when #74789 is merged, but I'd say that's fine). Indeed when #74789 is merged first we can close this one (and I could look into building the feature in C++ instead).
(#74789 looks fine to me but from the comments it seemed somewhat controversial, so I wasn't sure whether to expect it to be merged any time soon (or at all) )
It looks like all improvements of command-not-found are stalled because there is a plan to replace it with nix-index (#39789).
I guess I should take that for a spin (as documented at https://github.com/bennofs/nix-index#usage-as-a-command-not-found-replacement) and if it seems nice port this PR to that tool.