Skip to content

(shell) Period not match as part of promt #4244

Open
@ianw

Description

@ianw

A period in the prompt name is not matched by the shell highlighter, e.g.

aprompt $ ls -l  # matches
a-prompt $ ls -l # matches
a.prompt $ ls -l # no match

It matches other special characters such as ~[]- so I think . is a reasonable addition. I noticed this when writing some documentation that had a branch-name in the prompt, so foo-1 was working but foo-1.0 wasn't.

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