Skip to main content

Module bash_complete

Module bash_complete 

Source
Expand description

Rust-original types for the bash-style complete builtin extension.

These types back the complete / compopt / compgen builtins that src/extensions/ext_builtins.rs exposes. They are NOT ports of any zsh C source — zsh’s native compdef / compctl / compsys uses completely different types (Cmatch at comp_h.rs:334, Cmgroup at comp_h.rs:269, Compctl at compctl_h.rs:198).

Previous home was src/ported/zle/computil.rs which violated the “no Rust-only types in ported files” invariant; moved here so the ported zle/ tree stays a faithful C-source mirror.

Structs§

CompGroup
Completion group bundling multiple match candidates.
CompMatch
One completion-match candidate surfaced by the complete builtin.
CompSpec
complete builtin per-command spec (bash-style).
CompState
Per-completion state tracked across complete builtin invocations.