Files
oam/knowledge base/bat.md
2024-05-08 18:52:58 +02:00

56 lines
766 B
Markdown

# 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
<details>
<summary>Installation and configuration</summary>
```sh
apt install 'bat'
brew install 'bat'
dnf install 'bat'
zypper install 'bat'
bat --config-file
bat --generate-config-file
```
</details>
<details>
<summary>Usage</summary>
```sh
bat 'path/to/file'
bat 'path/to/file' --paging 'never' --theme="TwoDark"
bat --list-themes
```
</details>
## Further readings
- [Github]
### Sources
<!--
Reference
═╬═Time══
-->
<!-- In-article sections -->
<!-- Knowledge base -->
<!-- Files -->
<!-- Upstream -->
[github]: https://github.com/sharkdp/bat
<!-- Others -->