Skip to content

Always disable paging when listing themes#3238

Closed
Sky9x wants to merge 2 commits intosharkdp:masterfrom
Sky9x:patch-1
Closed

Always disable paging when listing themes#3238
Sky9x wants to merge 2 commits intosharkdp:masterfrom
Sky9x:patch-1

Conversation

@Sky9x
Copy link
Copy Markdown

@Sky9x Sky9x commented Mar 24, 2025

I have --paging=always in my .config/bat/config which makes bat --list-themes very not helpful (without doing bat --list-themes --no-pager). This force disables paging when listing themes.

@einfachIrgendwer0815
Copy link
Copy Markdown
Contributor

einfachIrgendwer0815 commented Mar 24, 2025

Although this solves the problem of bat --list-themes producing unhelpful output when paging, I think the better approach would be to have bat produce the normal --list-themes output and pass it to the pager as a whole.

Proposal: #3239

@Sky9x
Copy link
Copy Markdown
Author

Sky9x commented Mar 24, 2025

ooh youre right i didnt think of that

@Sky9x Sky9x closed this Mar 24, 2025
@Sky9x Sky9x deleted the patch-1 branch March 24, 2025 19:08
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