Skip to content

Add support for shell completion #1142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 19, 2025
Merged

Conversation

plebioda
Copy link
Collaborator

@plebioda plebioda commented Jun 6, 2025

Add Cobra-based shell autocompletion for Bash and Zsh to pbm, pbm-agent, and pbm-speed-test.

Example usage:

To enable completion for your Bash session:
$ source <(pbm completion bash)

To enable completion for your Zsh session:
$ source <(pbm completion zsh)

@it-percona-cla
Copy link

it-percona-cla commented Jun 6, 2025

CLA assistant check
All committers have signed the CLA.

plebioda added 2 commits June 16, 2025 09:31
Add Cobra-based shell autocompletion for Bash and Zsh to pbm, pbm-agent,
and pbm-speed-test.

Example usage:

  To enable completion for your Bash session:
    $ source <(pbm completion bash)

  To enable completion for your Zsh session:
    $ source <(pbm completion zsh)
@plebioda plebioda force-pushed the completion-scripts branch from c55690b to 35e2a6a Compare June 16, 2025 07:31
Copy link
Member

@boris-ilijic boris-ilijic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the nice contribution @plebioda

@boris-ilijic boris-ilijic merged commit 76b5950 into percona:dev Jun 19, 2025
34 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants