if "DISABLE_COMMAND_NOT_FOUND_INSTALL_PROMPT" in os.environ:
return
to
if not "COMMAND_NOT_FOUND_INSTALL_PROMPT" in os.environ:
return
Those that don't like the prompt would be much more apt at disabling it than those don't even know of its existence.
It's good to have the option to disable, but why by default?
Seconded, I think most people would prefer:
if "DISABLE_ COMMAND_ NOT_FOUND_ INSTALL_ PROMPT" in os.environ:
return
to NOT_FOUND_ INSTALL_ PROMPT" in os.environ:
if not "COMMAND_
return
Those that don't like the prompt would be much more apt at disabling it than those don't even know of its existence.
It's good to have the option to disable, but why by default?