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
This might be related or even the same as #2185, but what's a bit awkward is that this manifests in the setup which is recommended in the readme.
What steps will reproduce the bug?
Readme suggests adding a help function, for making generic --help viewing nice. Run the suggested command: git commit --help | bat --plain --language=help
Could not read contents of '/etc/bat/config': No such file or directory (os error 2).
Config file
Could not read contents of '/Users/username/.config/bat/config': No such file or directory (os error 2).
Custom assets metadata
Could not read contents of '/Users/username/.cache/bat/metadata.yaml': No such file or directory (os error 2).
Custom assets
'/Users/username/.cache/bat' not found
Compile time information
Profile: release
Target triple: aarch64-apple-darwin
Family: unix
OS: macos
Architecture: aarch64
Pointer width: 64
Endian: little
CPU features: aes,crc,dit,dotprod,dpb,dpb2,fcma,fhm,flagm,fp16,frintts,jsconv,lor,lse,neon,paca,pacg,pan,pmuv3,ras,rcpc,rcpc2,rdm,sb,sha2,sha3,ssbs,vh
Host: aarch64-apple-darwin
Less version
> less --version
less 581.2 (POSIX regular expressions)
Copyright (C) 1984-2021 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:
I test it with bat v0.23.0 and v0.22.1, but everything works well for me. I am on Linux 6.1.15-200.fc37.x86_64 with less 590, other details are the same as you.
This might be related or even the same as #2185, but what's a bit awkward is that this manifests in the setup which is recommended in the readme.
What steps will reproduce the bug?
--help
viewing nice. Run the suggested command:git commit --help | bat --plain --language=help
What happens?

What did you expect to happen instead?
Nicely rendered help without escape sequences
How did you install
bat
?homebrew
bat version and environment
Software version
bat 0.22.1
Operating system
macOS 13.2.1 (Darwin 22.3.0)
Command-line
bat --plain -l help --diagnostic
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 '/Users/username/.config/bat/config': No such file or directory (os error 2).
Custom assets metadata
Could not read contents of '/Users/username/.cache/bat/metadata.yaml': No such file or directory (os error 2).
Custom assets
'/Users/username/.cache/bat' not found
Compile time information
Less version
The text was updated successfully, but these errors were encountered: