-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
bat does not print colored output on debsources filetype files #3214
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
First off, thanks so much for making this! I use this as well as your bat-extras tools everyday in my development workflow. I'm not sure if this is a bug or a feature request, but figured I would put this out there either way - I couldn't find any similar issues listed atm.
What steps will reproduce the bug?
- Install
batwithsudo apt install bat - Create a symlink with:
ln -s /usr/bin/batcat ~/.local/bin/bat cd /etc/aptbat sources.list
What happens?
See that you do not get a colored output of the sources.list file
What did you expect to happen instead?
I would expect that since I am able to get syntax highlighting for debsources filetypes in my editor (neovim) that I would also be able to get them with bat
How did you install bat?
apt-get
bat version and environment
**$ uname -srm**
Linux 6.1.0-31-amd64 x86_64
**$ lsb_release -a**
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
bat
---
**$ bat --version**
bat 0.22.1
**$ env**
bat_config
----------
bat_wrapper
-----------
No wrapper script for 'bat'.
bat_wrapper_function
--------------------
No wrapper function for 'bat'.
No wrapper function for 'cat'.
tool
----
**$ less --version**
less 590 (GNU regular expressions) Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

