Skip to content

Invalid Command name when command starts with same character as a shortcut. #759

@xNinjaKittyx

Description

@xNinjaKittyx

I don't know if quit already exists in the library, but I have a command do_quit that just exits out of the command line.
And then I use shortcuts to shortcut q -> quit and exit -> quit.

However, doing this results in this error:

ValueError: Invalid command name 'quit': cannot start with a shortcut: @@, ?, !, @, q

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions