command-not-found: Improve documentation

This commit is contained in:
Jessie Ross 2025-06-13 23:32:46 +07:00
parent ce0a482872
commit 0309303c7e

View File

@ -37,6 +37,12 @@ in
description = ''
Whether interactive shells should show which Nix package (if
any) provides a missing command.
Requires nix-channels to be set and downloaded (sudo nix-channels --update.)
See also nix-index and nix-index-database as an alternative for flakes-based systems.
Additionally, having the env var NIX_AUTO_RUN set will automatically run the matching package, and with NIX_AUTO_RUN_INTERACTIVE it will confirm the package before running.
'';
};