osc completion

Output shell completion code for the specified shell (bash, zsh, fish, or powershell). The shell code must be evaluated to provide interactive completion of osc commands. This can be done by sourcing it from the .bash_profile.

Examples:

Enable completion at a shell start:

echo 'source <(osc completion bash)' >>~/.bashrc

Usage: osc completion [SHELL]

Arguments:

  • <SHELL> — If provided, outputs the completion file for given shell

    Default value: bash

    Possible values: bash, elvish, fish, powershell, zsh