Open
Description
Prerequisites
- Write a descriptive title.
Description of the new feature/enhancement
When there is a cmdlet or command that errors, we should utilize the experimental feedback provider (or other method) to recognize that it was in fact an error and then remove the last line from the history PSReadLine uses for history predictions. This way historical predictions can only suggest commands that were successful. This should not remove it from the session history, only the PSReadLine history
Some questions:
- Are erroring commands distracting for the user to have in history predictions?
- Is it confusing for a failed command to not show up in history for users?
Proposed technical implementation details (optional)
No response