Skip to content

Add different color for correct/incorrect command #3439

@dancojocaru2000

Description

@dancojocaru2000

Description of the new feature/enhancement

Add a different color for highlighting if the first word of a command is correct or incorrect (running the command won't result in "The term 'abcedf' is not recognized...").

For example, assuming an environment where v is not a valid program but vi is, typing a command such as v file.txt will highlight the v in a different color to show that v is not a valid command. When typing vi file.txt, vi will have a different color to show that it is a valid command.

Here is an example from fish shell:

Screenshot from 2022-09-19 03-42-16

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions