7 ms·
You wouldn't believe how often I run `bat` to quickly read some source code. It is nearly constantly open on my computer. It is just so easy to run, easy to us
by sidju 3y ago
You wouldn't believe how often I run `bat` to quickly read some source code. It is nearly constantly open on my computer.
It is just so easy to run, easy to use, can open multiple files and is so readable. Why would I open an editor when I'm already in a terminal and it's right there?
- avgcorrection 3y agoI believe you. :) That’s I guess what most of us do; quickly look at a single file. Not really concatenating multiple files. So the feature makes perfect pragmatic sense.
- ykonstant 3y agoI wrote a little script for that, and I am surprised now at how often I use it instead of opening an editor: https://drive.google.com/file/d/1l13UdgRJy2XvEzI4bYYFU09MW20oI-8n/view?usp=sharing https://drive.google.com/file/d/1l13UdgRJy2XvEzI4bYYFU09MW20...
- avgcorrection 3y agoI use `cat $(which ...)`. Makes sense to have a dedicated script for it. Cheers