Skip to content

fish: move MANPAGER to bat.fish, drop Solarized workaround#41

Merged
simono merged 1 commit intomainfrom
fix/rp-manpage-theme
Mar 9, 2026
Merged

fish: move MANPAGER to bat.fish, drop Solarized workaround#41
simono merged 1 commit intomainfrom
fix/rp-manpage-theme

Conversation

@simono
Copy link
Owner

@simono simono commented Mar 7, 2026

MANPAGER used Solarized as a workaround because Rosé Pine lacked manpage syntax highlighting scopes. Now that the upstream theme includes them (rose-pine/tm-theme#9), the override is unnecessary and MANPAGER can move to bat.fish where it belongs.

Copilot AI review requested due to automatic review settings March 7, 2026 12:28
@simono simono self-assigned this Mar 7, 2026
@simono simono marked this pull request as draft March 7, 2026 12:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Moves the MANPAGER configuration from the theme-specific fish config into the bat-specific config, now that Rosé Pine supports manpage highlighting and the Solarized workaround is no longer needed.

Changes:

  • Remove the Solarized-based MANPAGER override from fish/conf.d/theme.fish.
  • Add a bat-based MANPAGER definition to fish/conf.d/bat.fish without forcing a specific theme.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
fish/conf.d/theme.fish Drops the theme-specific MANPAGER Solarized workaround.
fish/conf.d/bat.fish Centralizes MANPAGER under bat-related configuration using bat -lman.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@simono simono force-pushed the fix/rp-manpage-theme branch from ed5a5b7 to 003a3eb Compare March 7, 2026 20:11
@simono simono marked this pull request as ready for review March 9, 2026 15:28
Copilot AI review requested due to automatic review settings March 9, 2026 15:28
The Solarized theme override for man pages is no longer needed now that
the upstream Rosé Pine tmTheme includes manpage scopes. MANPAGER is no
longer theme-dependent, so move it to bat.fish.

See rose-pine/tm-theme#9.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simono simono force-pushed the fix/rp-manpage-theme branch from 003a3eb to 0495d98 Compare March 9, 2026 15:28
@simono simono enabled auto-merge March 9, 2026 15:28
@simono simono merged commit 724cb6d into main Mar 9, 2026
4 checks passed
@simono simono deleted the fix/rp-manpage-theme branch March 9, 2026 15:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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