Warning: Work in progress! Leave feedback on Zulip or Github if you'd like this doc to be updated.
You can use interactive completion directly under
oil, or clients of
a headless shell can use it as an API.
The completion API is modeled after the bash completion API
However, an incompatibility is that it deals with
argv entries and not
OSH moves the responsibility for quoting into the shell. Completion plugins should not do it.
compadjustbuiltin. Derived from a cleanup of the