mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
56 lines
766 B
Markdown
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 -->
|