From 8d0d965a888046fa0a4b69cae3762f1c3ee8d081 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Wed, 8 May 2024 18:52:58 +0200 Subject: [PATCH] feat(kb): add bat's article --- knowledge base/bat.md | 55 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 knowledge base/bat.md diff --git a/knowledge base/bat.md b/knowledge base/bat.md new file mode 100644 index 0000000..9e4f597 --- /dev/null +++ b/knowledge base/bat.md @@ -0,0 +1,55 @@ +# Title + +A `cat(1)` clone with syntax highlighting and Git integration. + +1. [TL;DR](#tldr) +1. [Further readings](#further-readings) + 1. [Sources](#sources) + +## TL;DR + +
+ Installation and configuration + +```sh +apt install 'bat' +brew install 'bat' +dnf install 'bat' +zypper install 'bat' + +bat --config-file +bat --generate-config-file +``` + +
+ +
+ Usage + +```sh +bat 'path/to/file' +bat 'path/to/file' --paging 'never' --theme="TwoDark" + +bat --list-themes +``` + +
+ +## Further readings + +- [Github] + +### Sources + + + + + + + +[github]: https://github.com/sharkdp/bat + +