Skip to content

Use shlex to parse PAGER values#765

Merged
ryanfowler merged 1 commit into
mainfrom
fix-pager-parsing
Jun 14, 2026
Merged

Use shlex to parse PAGER values#765
ryanfowler merged 1 commit into
mainfrom
fix-pager-parsing

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • Parse PAGER with shlex so quoted arguments and escapes are handled correctly
  • Fall back to the built-in pager when PAGER is malformed
  • Update docs to clarify that fetch does not interpret shell operators in PAGER

Testing

  • Added unit tests covering quoted PAGER parsing and invalid PAGER fallback
  • Not run (not requested)

@ryanfowler ryanfowler merged commit bc76184 into main Jun 14, 2026
4 checks passed
@ryanfowler ryanfowler deleted the fix-pager-parsing branch June 14, 2026 06:21
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