Skip to content

feat: add pkgbuild pager config#2832

Open
shbernal wants to merge 1 commit into
Jguer:nextfrom
shbernal:pkgbuild-pager
Open

feat: add pkgbuild pager config#2832
shbernal wants to merge 1 commit into
Jguer:nextfrom
shbernal:pkgbuild-pager

Conversation

@shbernal
Copy link
Copy Markdown

@shbernal shbernal commented May 29, 2026

Summary

  • add a PkgbuildPager config option for yay -Gp output
  • preserve current raw stdout behavior when the option is unset
  • pipe generated PKGBUILD output through the configured command when set
  • document the option and update shell completions

Example config:

PkgbuildPager = bat -pp --color=always -lPKGBUILD

Closes #2831

Tests

  • go test ./...
  • make test
  • git diff --check

Note

This PR was prepared with assistance from OpenAI Codex. The changes were reviewed locally and validated with the tests above.

@shbernal shbernal requested a review from Jguer as a code owner May 29, 2026 10:44
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.

Add config option for syntax-highlighted yay -Gp output

1 participant