mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-15 10:40:41 +01:00
47 lines
1007 B
Markdown
47 lines
1007 B
Markdown
# bat-extras: batman
|
|
|
|
A script that allows bat to be used as a manual highlighter.
|
|
|
|
|
|
|
|
## Command Line
|
|
|
|
**Synopsis:**
|
|
|
|
- `batman [SECTION] [ENTRY] `
|
|
|
|
|
|
|
|
**Environment:**
|
|
|
|
| Variable | Description |
|
|
| ---------- | ------------------------------------------------------------ |
|
|
| `MANPAGER` | Changes the pager used for `batman`. This is treated like `BAT_PAGER`, but only affects this command. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Caveats
|
|
|
|
None so far.
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
This script is a part of the `bat-extras` suite of scripts. You can find install instructions [here](../README.md#installation).
|
|
|
|
|
|
|
|
## Acknowledgements
|
|
|
|
Thanks to [@sharkdp](https://github.com/sharkdp) and [@LunarLambda](https://github.com/LunarLambda) for debugging how to make this work properly in [certain environments](https://github.com/sharkdp/bat/issues/652).
|
|
|
|
|
|
|
|
## Issues?
|
|
|
|
If you find an issue or have a feature suggestion, make a pull request or issue through GitHub!
|
|
Contributions are always welcome. |