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

    Interface BuiltinDoc

    Parsed builtin command doc block.

    interface BuiltinDoc {
        category: "builtin";
        id: Documented<"builtin">;
        display: string;
        synopsis: readonly [string, string];
        desc: string;
        module?:
            | "zsh/attr"
            | "zsh/cap"
            | "zsh/clone"
            | "zsh/compctl"
            | "zsh/complete"
            | "zsh/complist"
            | "zsh/computil"
            | "zsh/curses"
            | "zsh/datetime"
            | "zsh/db/gdbm"
            | "zsh/deltochar"
            | "zsh/example"
            | "zsh/files"
            | "zsh/langinfo"
            | "zsh/mapfile"
            | "zsh/mathfunc"
            | "zsh/nearcolor"
            | "zsh/net/socket"
            | "zsh/net/tcp"
            | "zsh/newuser"
            | "zsh/param/private"
            | "zsh/parameter"
            | "zsh/pcre"
            | "zsh/regex"
            | "zsh/rlimits"
            | "zsh/sched"
            | "zsh/stat"
            | "zsh/system"
            | "zsh/termcap"
            | "zsh/terminfo"
            | "zsh/watch"
            | "zsh/zftp"
            | "zsh/zle"
            | "zsh/zleparameter"
            | "zsh/zprof"
            | "zsh/zpty"
            | "zsh/zselect"
            | "zsh/zutil";
        aliasOf?: {
            target: Documented<"builtin">;
            args?: readonly [string, string];
        };
        deprecated?: boolean;
        flagGroups?: readonly [FlagGroup, FlagGroup];
        outro?: string;
    }

    Hierarchy (View Summary)

    Index
    category: "builtin"

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

    id: Documented<"builtin">

    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:
    synopsis: readonly [string, string]
    desc: string

    Body prose. With flagGroups, the intro before the first group; the renderer composes desc → (group intro → flag list)+ → outro. Without flagGroups, the full body.

    module?:
        | "zsh/attr"
        | "zsh/cap"
        | "zsh/clone"
        | "zsh/compctl"
        | "zsh/complete"
        | "zsh/complist"
        | "zsh/computil"
        | "zsh/curses"
        | "zsh/datetime"
        | "zsh/db/gdbm"
        | "zsh/deltochar"
        | "zsh/example"
        | "zsh/files"
        | "zsh/langinfo"
        | "zsh/mapfile"
        | "zsh/mathfunc"
        | "zsh/nearcolor"
        | "zsh/net/socket"
        | "zsh/net/tcp"
        | "zsh/newuser"
        | "zsh/param/private"
        | "zsh/parameter"
        | "zsh/pcre"
        | "zsh/regex"
        | "zsh/rlimits"
        | "zsh/sched"
        | "zsh/stat"
        | "zsh/system"
        | "zsh/termcap"
        | "zsh/terminfo"
        | "zsh/watch"
        | "zsh/zftp"
        | "zsh/zle"
        | "zsh/zleparameter"
        | "zsh/zprof"
        | "zsh/zpty"
        | "zsh/zselect"
        | "zsh/zutil"
    aliasOf?: { target: Documented<"builtin">; args?: readonly [string, string] }

    Present on Same as X / alias() entries: the builtin this one stands for, plus the fixed arguments of the equivalent call (history is fc -l).

    deprecated?: boolean

    Upstream zsh recommends against new use.

    flagGroups?: readonly [FlagGroup, FlagGroup]

    Per-group flags when upstream documents nested item lists inside the body.

    outro?: string

    Prose after the last flag group.