One of the first programs I install in any new setup. Just having the line numbers in your snippets, when all your communication is over asynchronous platforms with UX features designed by the Greatest Minds at Microsoft, streamlines discussions do much.
Bat v0.26.0
21–30 of 78 posts
Re: Bat v0.26.0
#22When I saw this, I was hoping that [The Bat!]( https://www.ritlabs.com/en/products/thebat/ ) had been released as FOSS. This is still pretty cool.
Exclamation marks seemed to be popular in names back in the day :D
Re: Bat v0.26.0
#23The `--pager=builtin` change is interesting; first time I've heard of minus. > Traditional pagers like more or less weren't made for integrating into other applications. They were meant to be standalone binaries that are executed directly by users. However most applications don't adhere to this and exploit these pagers' functionality by calling them as external programs and passing the data through the standard input…
I personally don't. UNIX is made to be composable, and it's composition. more, less, most all consider pipe input as first-class citizens. I'm personally fond of "grep --color=always file.ext | less --raw" to page colored output.
> Is that really the best approach?
I don't think so. If I was the developer, I'd embed the pager only into the Windows build by default, and use system pagers on other systems (by default). If any person/distro wants to use the built-in pager, it'd be their choice.
I don't like when developers bloat their own code with good intentions, but drift from their nice state to something bloated.
Re: Bat v0.26.0
#24bat is one of the few "new wave" tools that I install without hesitation, with no worries about stability issues or silent downsides. It has great defaults that make it feel like it always does the right thing for the context, just an unambiguous enhancement to my terminal experience.
Re: Bat v0.26.0
#25bat is one of the few "new wave" tools that I install without hesitation, with no worries about stability issues or silent downsides. It has great defaults that make it feel like it always does the right thing for the context, just an unambiguous enhancement to my terminal experience.
So while I admire the engineering effort, I still find utility of these tools limited.
Re: Bat v0.26.0
#26bat is one of the few "new wave" tools that I install without hesitation, with no worries about stability issues or silent downsides. It has great defaults that make it feel like it always does the right thing for the context, just an unambiguous enhancement to my terminal experience.
I probably have a bunch of such tools installed on my main machine. The problem is you actually need to remember to use them, and then maybe their command line switches to get the desired output. Whereas cat/less/git/vim are muscle memory. Not to mention that you first need to get over the hum of installing them in your system, likely needing to grab the latest Go/Rust/Zig toolchain along the way. So while I admire t…
Re: Bat v0.26.0
#27bat is one of the few "new wave" tools that I install without hesitation, with no worries about stability issues or silent downsides. It has great defaults that make it feel like it always does the right thing for the context, just an unambiguous enhancement to my terminal experience.
any other recommendation?
fd, a better find: https://github.com/sharkdp/fd
ripgrep (rg) a modern grep: https://github.com/BurntSushi/ripgrep
eza for ls replacement: https://github.com/eza-community/eza
duf is a cleaner df: https://github.com/muesli/duf
dust for du: https://github.com/bootandy/dust
Also fish + starship + yazi + helix, all of which mostly work perfectly with the defaults
Re: Bat v0.26.0
#28The `--pager=builtin` change is interesting; first time I've heard of minus. > Traditional pagers like more or less weren't made for integrating into other applications. They were meant to be standalone binaries that are executed directly by users. However most applications don't adhere to this and exploit these pagers' functionality by calling them as external programs and passing the data through the standard input…
Re: Bat v0.26.0
#29Earlier quoted context omitted.
any other recommendation?
Along with bat, these are my main ones that I install always: fd, a better find: https://github.com/sharkdp/fd ripgrep (rg) a modern grep: https://github.com/BurntSushi/ripgrep eza for ls replacement: https://github.com/eza-community/eza duf is a cleaner df: https://github.com/muesli/duf dust for du: https://github.com/bootandy/dust Also fish + starship + yazi + helix, all of which mostly work perfectly with the defa…
Re: Bat v0.26.0
#30Earlier quoted context omitted.
any other recommendation?
Along with bat, these are my main ones that I install always: fd, a better find: https://github.com/sharkdp/fd ripgrep (rg) a modern grep: https://github.com/BurntSushi/ripgrep eza for ls replacement: https://github.com/eza-community/eza duf is a cleaner df: https://github.com/muesli/duf dust for du: https://github.com/bootandy/dust Also fish + starship + yazi + helix, all of which mostly work perfectly with the defa…