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
bat to print the file using either the dark or light theme specified using the environment variables
This works using the command line arguments as invoking bat --theme-dark="Catppuccin Macchiato" --theme-light="Catppuccin Latte" lib/util/resource.py has bat printing the file using the correct Catppuccin theme depending on whether the system is in dark/light mode
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:
What steps will reproduce the bug?
export BAT_THEME_DARK="Catppuccin Macchiato"
export BAT_THEME_LIGHT="Catppuccin Latte"
bat lib/util/resource.py
What happens?
bat
prints the file using the default themeWhat did you expect to happen instead?
bat
to print the file using either the dark or light theme specified using the environment variablesThis works using the command line arguments as invoking
bat --theme-dark="Catppuccin Macchiato" --theme-light="Catppuccin Latte" lib/util/resource.py
hasbat
printing the file using the correctCatppuccin
theme depending on whether the system is in dark/light modeHow did you install
bat
?homebrew
bat version and environment
Software version
bat 0.25.0
Operating system
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 '/Users/sherif/.config/bat/config': No such file or directory (os error 2).
Custom assets metadata
Custom assets
Compile time information
Less version
The text was updated successfully, but these errors were encountered: