3 ms·
Couple ones there that I’m keen to try out. bat in particular seems like such an easy win
by Havoc 5y ago
Couple ones there that I’m keen to try out. bat in particular seems like such an easy win
- rascul 5y agoI use both bat and cat often. cat normally, but bat for source code since it comes with syntax highlighting and line numbers by default.
- zem 5y agofd and ripgrep are the ones that have really stuck with me, replacing find and grep in my finger memory.
- internetter 5y agoYou can of course alias these commands as I have done, although coworkers hate me for it. Mind that 1. You need to be careful to avoid "works on my machine" moments 2. You need to remember that you did it in case you need to undo it.
- sundarurfriend 5y agobat is certainly a game changer. I never printed things out to the terminal - always did a `less` or a `view` - before I installed bat. One (very) minor issue I have with it is that when the file is very small - a couple words or lines at most - then the "decorations" it prints around the content get distracting and make the content slightly harder to read. Maybe I should just write a wrapper around it that does a `wc` first and decides whether to do a `bat` or a `cat`.
- ehsankia 5y agoEvery time I see these lists, I tell myself i'll start using these, but always forget. I would love a meta tool that, every time I use one of the old tools, it automatically gives me a notice to use the new one instead, so I can learn. Then again I guess I could alias the old ones to point to the one one.