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 ysh, 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 Sun, 10 Nov 2024 13:11:50 -0500