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

    Interface SpecialFunctionDoc

    Special function — hooks and TRAP* from func.yo §Special Functions.

    interface SpecialFunctionDoc {
        category: "special_function";
        id: Documented<"special_function">;
        display: string;
        sig: string;
        desc: string;
        subKind: SpecialFunctionKind;
        hookArray?: string;
    }

    Hierarchy (View Summary)

    Index
    category: "special_function"

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

    id: Documented<"special_function">

    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.

    hookArray?: string

    Hook's companion ${name}_functions array name — the resolver's key for <hook>_functions input. Absent on TRAP*.