You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ echo$MANPAGERbat-for-man
$ cat $(which bat-for-man )#!/bin/sh
#
# man(1) can use a custom pager, but will exec`MANPAGER` as-is (e.g.: it won't
# pass it to a shell) so using arguments isn't possible.col -bx < "$1" | bat --language man -p
What happens?
On man pages listing commands, commands themselves are not highlighted.
Could not read contents of '/etc/bat/config': No such file or directory (os error 2).
Config file
Could not read contents of '/home/hugo/.config/bat/config': No such file or directory (os error 2).
Custom assets metadata
Could not read contents of '/home/hugo/.cache/bat/metadata.yaml': No such file or directory (os error 2).
Custom assets
'/home/hugo/.cache/bat' not found
Compile time information
Profile: release
Target triple: x86_64-alpine-linux-musl
Family: unix
OS: linux
Architecture: x86_64
Pointer width: 64
Endian: little
CPU features: fxsr,sse,sse2
Host: x86_64-alpine-linux-musl
Less version
> less --version
less 608 (POSIX regular expressions)
Copyright (C) 1984-2022 Mark Nudelman
less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Home page: https://greenwoodsoftware.com/less
The text was updated successfully, but these errors were encountered:
What steps will reproduce the bug?
I'm using
bat
as a man pager:What happens?
On man pages listing commands, commands themselves are not highlighted.
I'll use
sway(5)
as an example. Withbat
:What did you expect to happen instead?
Without
bat
:How did you install
bat
?Distribution packages (Alpine)
bat version and environment
Software version
bat 0.22.1
Operating system
Linux 6.1.8-0-edge
Command-line
Environment variables
System Config file
Could not read contents of '/etc/bat/config': No such file or directory (os error 2).
Config file
Could not read contents of '/home/hugo/.config/bat/config': No such file or directory (os error 2).
Custom assets metadata
Could not read contents of '/home/hugo/.cache/bat/metadata.yaml': No such file or directory (os error 2).
Custom assets
'/home/hugo/.cache/bat' not found
Compile time information
Less version
The text was updated successfully, but these errors were encountered: