Warning: Work in progress! Leave feedback on Zulip or Github if you'd like this doc to be updated.

Interactive Shell Completion

You can use interactive completion directly under osh or oil, or clients of a headless shell can use it as an API.

Completion API

The completion API is modeled after the bash completion API

However, an incompatibility is that it deals with argv entries and not command strings.

OSH moves the responsibility for quoting into the shell. Completion plugins should not do it.

Generated on Wed Aug 3 13:13:32 EDT 2022