Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leonstoldt/xxh-plugin-prerun-bat

xxh prerun plugin for bat.
https://github.com/leonstoldt/xxh-plugin-prerun-bat

xxh xxh-plugin

Last synced: 4 days ago
JSON representation

xxh prerun plugin for bat.

Awesome Lists containing this project

README

        

# xxh prerun plugin for [bat](https://github.com/sharkdp/bat)

![demo.gif](docs/demo.gif)

## Installation
> #### Available Flags:
> `+q` - using quiet mode and reduced logging

1. Install the plugin separately:
```shell
xxh +I https://github.com/LeonStoldt/xxh-plugin-prerun-bat +q
```

2. Install the plugin via config.xxhc: (e.g.)
```shell
hosts:
".*":
#[...]
+I:
- https://github.com/LeonStoldt/xxh-plugin-prerun-bat
+q: # optional: quiet mode
#[...]
```

3. Install on-the-fly while connecting via xxh:
```shell
xxh +I https://github.com/LeonStoldt/xxh-plugin-prerun-bat
#OR using zsh seamless mode:
source xxh.zsh +I https://github.com/LeonStoldt/xxh-plugin-prerun-bat
```

## Usage
After connecting to your host using xxh, bat will be available via `bat`.
Checkout `bat --help` or visit [bat GitHub page](https://github.com/sharkdp/bat) for usage information.

## Credits
- bat is provided by: [sharkdp/bat](https://github.com/sharkdp/bat)
- This plugin was created with [xxh-prerun-plugin cookiecutter template](https://github.com/xxh/cookiecutter-xxh-plugin-prerun).