Skip to content

Comments

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

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

Add shell completions for bash, zsh, and fish#244
umputun merged 2 commits intoumputun:masterfrom
paskal:add-shell-completions

Conversation

@paskal
Copy link
Contributor

@paskal paskal commented Feb 17, 2026

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
@paskal paskal force-pushed the add-shell-completions branch from b396f48 to 3c37ac1 Compare February 17, 2026 21:36
@paskal paskal force-pushed the add-shell-completions branch from 3c37ac1 to c499706 Compare February 17, 2026 21:41
Copy link
Owner

@umputun umputun left a comment

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