Skip to content

Add shell completions for bash, zsh, and fish - #244

Merged
umputun merged 2 commits into
umputun:masterfrom
paskal:add-shell-completions
Feb 18, 2026
Merged

umputun merged 2 commits into
umputun:masterfrom
paskal:add-shell-completions

Conversation

@paskal

@paskal paskal commented Feb 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add completion wrapper scripts for bash, zsh, and fish that use go-flags' built-in GO_FLAGS_COMPLETION mechanism
  • Update .goreleaser.yml to include completions in release archives, Homebrew formula (extra_install), and deb/rpm packages (contents)
  • Suppress version banner when running in completion mode to avoid polluting output

After this, brew install umputun/apps/reproxy will automatically install shell completions.

Add completion wrapper scripts that use go-flags' built-in
GO_FLAGS_COMPLETION mechanism. Update .goreleaser.yml to include
completions in release archives, Homebrew formula, and deb/rpm
packages. Suppress version banner in completion mode.
@paskal
paskal requested a review from umputun as a code owner February 17, 2026 19:39

@umputun umputun left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

lgtm, thx

@umputun
umputun merged commit 4089c35 into umputun:master Feb 18, 2026
1 check failed
@paskal
paskal deleted the add-shell-completions branch February 18, 2026 09:34
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.

2 participants