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
There are lots of great code examples in the documentation here, but they use "bat" for the executable name. But some Linux distributions (Debian and Ubuntu, at least) use "batcat" for the executable name -- which means you can't blindly copy and paste the code. And it's confusing when you do -- a user might say "huh? Why is the command not found? I just installed the 'bat' package!?
The documentation should at least mention that users may need to use "batcat" instead of "bat".
And since many users will dive straight to a code snippet and copy right from there -- without reading anything else -- perhaps every the code examples could all have a comment about possibly needing "batcat". But that would be awkward, despite its usefulness.
The text was updated successfully, but these errors were encountered:
Hrm, now I see some other related issues. So I guess this is a sort of duplicate? Although the fact that I tripped over it does say something about how users can blindly copy and paste and get a bit confused...
There are lots of great code examples in the documentation here, but they use "bat" for the executable name. But some Linux distributions (Debian and Ubuntu, at least) use "batcat" for the executable name -- which means you can't blindly copy and paste the code. And it's confusing when you do -- a user might say "huh? Why is the command not found? I just installed the 'bat' package!?
The documentation should at least mention that users may need to use "batcat" instead of "bat".
And since many users will dive straight to a code snippet and copy right from there -- without reading anything else -- perhaps every the code examples could all have a comment about possibly needing "batcat". But that would be awkward, despite its usefulness.
The text was updated successfully, but these errors were encountered: