Skip to content

feat(completion): add bash, zsh, fish completions and completion subcommand#40

Merged
vollate merged 3 commits into
mainfrom
feat-completion
May 26, 2026
Merged

feat(completion): add bash, zsh, fish completions and completion subcommand#40
vollate merged 3 commits into
mainfrom
feat-completion

Conversation

@vollate

@vollate vollate commented May 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add rich shell completion scripts for bash, zsh, and fish with dynamic password store entry listing (respects $PASSWORD_STORE_DIR and -R/--repo)
  • Implement pars completion {install|uninstall|generate} subcommand for one-command setup with shell auto-detection
  • Remove unused clap_complete build-dependency, add dirs crate for cross-platform path resolution

Test plan

  • cargo build compiles cleanly
  • pars completion generate --shell bash outputs bash completion script
  • pars completion generate --shell zsh outputs zsh completion script
  • pars completion generate --shell fish outputs fish completion script
  • pars completion generate --shell powershell outputs PowerShell script
  • pars completion install auto-detects shell and installs
  • pars completion uninstall removes installed completions
  • Test tab completion in bash/zsh/fish after install

🤖 Generated with Claude Code

…n` subcommand

Add rich shell completion scripts for bash, zsh, and fish with dynamic
password store entry listing. Implement `pars completion {install|uninstall|generate}`
subcommand for one-command setup with shell auto-detection.
@vollate vollate self-assigned this May 26, 2026
@vollate vollate force-pushed the feat-completion branch from b2aa336 to 515226d Compare May 26, 2026 09:20
@vollate vollate merged commit 396fff9 into main May 26, 2026
3 of 4 checks passed
@vollate vollate deleted the feat-completion branch May 26, 2026 09:27
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.

1 participant