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 + +