Re: [PATCH] help: prompt user to run corrected command on typo
- From
Justin Tobler <jltobler@gmail.com>
- Date
- Jun 19, 2026, 16:24 UTC
- Message-ID
- <ajVatJzQ0L5WAOUh@denethor>
- In-Reply-To
- <6a34dc40.2c570c9e.381c97.203f@mx.google.com>
On 26/06/18 11:05PM, Jishnu C K wrote:
> If the consensus is that the default should remain non-interactive, > we are happy to rework this as an improvement to the existing > `autocorrect=prompt` mode (showing args in the prompt) with > documentation updates to make the option more discoverable.
I'm not sure what the current consensus is here, but as it would be a change to the existing behavior it would need its merits discussed accordingly. Personally, I think requiring users to opt-in to autocorrect isn't a significant barrier itself. It does require that users know that the option is available in the first place though. So if discoverablility of this feature is lacking and can be improved in documentation, that certainly seems like a reasonable change.
Regarding changing the prompt to display command arguments, I'm relatively indifferent towards it. I'm not sure it adds a ton of value, but maybe other folks will have a different opinion.
-Justin