Skip to content

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

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

Add shell completions for bash, zsh, and fish#18
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/echo-http will automatically install shell completions.

@paskal paskal requested a review from umputun as a code owner February 17, 2026 19:38
@paskal paskal force-pushed the add-shell-completions branch from c4c7cdc to f911872 Compare February 17, 2026 21:35
@paskal paskal force-pushed the add-shell-completions branch from f911872 to 93309f0 Compare February 17, 2026 21:40
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 206da9b into umputun:master Feb 18, 2026
1 check passed
@paskal paskal deleted the add-shell-completions branch February 18, 2026 09:38
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