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
export LESS='-R --use-color -Dd+r$Du+b$'
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export MANROFFOPT="-c"
to your .zshrc
2. bat something, .zshrc itself for example
3. press 'q' to quit the pager
What happens?
I get [bat warning]: Unknown theme 'Catppuccin-mocha', using default. my ~/.config/bat/config contains only --theme="Catppuccin-mocha", and the theme seems to be applied successfully.
k1gen
changed the title
[bat warning]: Unknown theme '...', using default., but theme applies successfully
[bat warning]: Unknown theme '...', using default. when using pager
Oct 12, 2023
I don't see any evidence that bat ships with a theme called Catppuccin-mocha...
If I add that line to my config, I get the same warning, but the highlighting is the same with and without it... Can you share a screenshot?
Perhaps you need to add it as a custom asset? #2124
What steps will reproduce the bug?
to your .zshrc
2. bat something, .zshrc itself for example
3. press 'q' to quit the pager
What happens?
I get
[bat warning]: Unknown theme 'Catppuccin-mocha', using default.
my ~/.config/bat/config contains only--theme="Catppuccin-mocha"
, and the theme seems to be applied successfully.What did you expect to happen instead?
no output
How did you install
bat
?with pacman
bat version and environment
$ bat .zshrc --diagnostic
Software version
bat 0.23.0 (871abd2)
Operating system
Linux 6.5.6-hardened1-1-hardened
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
Custom assets metadata
Could not read contents of '/home/olk/.cache/bat/metadata.yaml': No such file or directory (os error 2).
Custom assets
'/home/olk/.cache/bat' not found
Compile time information
Less version
The text was updated successfully, but these errors were encountered: