Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

docs: add shell completion examples - #2

Open
GHX5T-SOL wants to merge 1 commit into
Chosen9115:mainfrom
GHX5T-SOL:docs/1-shell-completion-examples
Open

docs: add shell completion examples#2
GHX5T-SOL wants to merge 1 commit into
Chosen9115:mainfrom
GHX5T-SOL:docs/1-shell-completion-examples

Conversation

@GHX5T-SOL

Copy link
Copy Markdown

Closes #1.

Summary:

  • add a bash completion example for the common OpenSOP subcommands
  • add a zsh completion file example with fpath/compinit install notes
  • keep this docs-only because the CLI does not generate completions yet

Validation:

  • bash -n bin/opensop passed
  • sed -n '/_opensop_complete()/,/complete -F/p' README.md | bash -n passed
  • awk '/^```zsh$/{flag=1; next} /^```$/{if(flag){flag=0; next}} flag{print}' README.md | zsh -n passed
  • git diff --check passed
  • git diff --no-ext-diff | gitleaks stdin --no-banner --redact --exit-code 1 passed, no leaks found

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add shell completion examples for bash/zsh

1 participant