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 Thu May 19 20:44:26 EDT 2022