We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What steps will reproduce the bug?
bat --map-syntax "todo*.txt:todo.txt" todo_2025-01.txt
bat --map-syntax "todo*.txt:Todo.txt" todo_2025-01.txt
bat --language todo.txt todo_2024-12.txt
What happens?
number 2 will fail with:
[bat error]: unknown syntax: 'todo.txt'
What did you expect to happen instead?
I expected syntax highlighting in the same way that the language flag works.
How did you install bat?
bat
download msvc zip from https://github.com/sharkdp/bat/releases/tag/v0.25.0 extract exe to path.
bat version and environment
C:\>bat --version bat 0.25.0 (25f4f96)
C:\>bat --diagnostic
bat 0.25.0 (25f4f96)
Windows 6.2.9200
bat --diagnostic
BAT_CACHE_PATH=<not set> BAT_CONFIG_PATH=<not set> BAT_OPTS=<not set> BAT_PAGER=<not set> BAT_PAGING=<not set> BAT_STYLE=<not set> BAT_TABS=<not set> BAT_THEME=<not set> COLORTERM=<not set> LANG=<not set> LC_ALL=<not set> LESS=<not set> MANPAGER=<not set> NO_COLOR=<not set> PAGER=<not set> SHELL=<not set> TERM=<not set> XDG_CACHE_HOME=<not set> XDG_CONFIG_HOME=<not set>
Could not read contents of 'C:\ProgramData\bat\config': The system cannot find the path specified. (os error 3).
Could not read contents of 'C:\Users\clach04\AppData\Roaming\bat\config': The system cannot find the path specified. (os error 3).
Could not read contents of 'C:\Users\clach04\AppData\Local\bat\metadata.yaml': The system cannot find the path specified. (os error 3).
'C:\Users\clach04\AppData\Local\bat' not found
The text was updated successfully, but these errors were encountered:
Thanks for making this tool available (and fd)!
Sorry, something went wrong.
No branches or pull requests
What steps will reproduce the bug?
bat --map-syntax "todo*.txt:todo.txt" todo_2025-01.txt
bat --map-syntax "todo*.txt:Todo.txt" todo_2025-01.txt
bat --language todo.txt todo_2024-12.txt
What happens?
number 2 will fail with:
What did you expect to happen instead?
I expected syntax highlighting in the same way that the language flag works.
How did you install
bat
?download msvc zip from https://github.com/sharkdp/bat/releases/tag/v0.25.0 extract exe to path.
bat version and environment
C:\>bat --diagnostic
Software version
bat 0.25.0 (25f4f96)
Operating system
Windows 6.2.9200
Command-line
Environment variables
System Config file
Could not read contents of 'C:\ProgramData\bat\config': The system cannot find the path specified. (os error 3).
Config file
Could not read contents of 'C:\Users\clach04\AppData\Roaming\bat\config': The system cannot find the path specified. (os error 3).
Custom assets metadata
Could not read contents of 'C:\Users\clach04\AppData\Local\bat\metadata.yaml': The system cannot find the path specified. (os error 3).
Custom assets
'C:\Users\clach04\AppData\Local\bat' not found
Compile time information
The text was updated successfully, but these errors were encountered: