@carlwr/zsh-lexicon
    Preparing search index...

    Interface PromptEscapeDoc

    Prompt-expansion escape sequences -- e.g. %n, %~, %D{string}, %F{color}.

    interface PromptEscapeDoc {
        category: "prompt_escape";
        id: Documented<"prompt_escape">;
        display: string;
        sig: string;
        desc: string;
        subKind:
            | "Special characters"
            | "Login information"
            | "Shell state"
            | "Date and time"
            | "Visual effects"
            | "Conditional Substrings in Prompts";
    }

    Hierarchy (View Summary)

    Index
    category: "prompt_escape"

    The record's category — the Lexicon map it sits in; in the JSON, its file. One constant per record definition.

    id: Documented<"prompt_escape">

    The record's lexicon key: a shell-safe slug — printable ASCII without whitespace, non-empty.

    display: string

    Surface form for display: printable ASCII with spaces, non-empty. The id unless the manual's form differs from it:

    • normalized in the id: an option's AUTO_CD
    • not shell-safe: a redirection's > word, a history modifier's h [ digits ]
    • with argument markers: a flag's j:string:
    sig: string

    Usage signature from the upstream zsh manual.

    desc: string

    Manual prose as markdown — paragraphs, inline and fenced code; occasionally *emphasis*, bullets or a heading. Every desc field has this shape.

    subKind:
        | "Special characters"
        | "Login information"
        | "Shell state"
        | "Date and time"
        | "Visual effects"
        | "Conditional Substrings in Prompts"

    The manual subsection the escape sits under.