2018-10-05 07:43:45 +00:00
|
|
|
# catimg
|
|
|
|
|
2024-08-12 09:46:16 +00:00
|
|
|
Plugin for displaying images on the terminal using the `catimg.sh` script provided by
|
|
|
|
[posva](https://github.com/posva/catimg)
|
2018-10-05 07:43:45 +00:00
|
|
|
|
2020-03-11 18:57:46 +00:00
|
|
|
To use it, add `catimg` to the plugins array in your zshrc file:
|
2018-10-05 07:43:45 +00:00
|
|
|
|
2020-03-11 18:57:46 +00:00
|
|
|
```zsh
|
|
|
|
plugins=(... catimg)
|
|
|
|
```
|
2018-10-05 07:43:45 +00:00
|
|
|
|
2020-03-11 18:57:46 +00:00
|
|
|
## Requirements
|
2018-10-05 07:43:45 +00:00
|
|
|
|
2024-08-12 09:46:16 +00:00
|
|
|
- `magick convert` (ImageMagick)
|
2018-10-05 07:43:45 +00:00
|
|
|
|
|
|
|
## Functions
|
|
|
|
|
|
|
|
| Function | Description |
|
|
|
|
| -------- | ---------------------------------------- |
|
|
|
|
| `catimg` | Displays the given image on the terminal |
|
|
|
|
|
|
|
|
## Usage examples
|
|
|
|
|
|
|
|
[![asciicast](https://asciinema.org/a/204702.png)](https://asciinema.org/a/204702)
|