Beautiful man pages on #OpenBSD with bat ๐ฑ
$ doas pkg_add bat
$ man pf.conf | bat -pl man
I have the following set in my
.kshrc to do exactly that.# coloured man pages
man() {
sh -c "man '$@' | col -bx | bat -l man"
}
If you have a fediverse account, you can quote this note from your own instance. Search https://snac.smithies.me.uk/justine/p/1773688945.119139 on your instance and quote it. (Note that quoting is not supported in Mastodon.)
