mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 17:57:34 +08:00
24 lines
566 B
Markdown
24 lines
566 B
Markdown
# catimg
|
|
|
|
Plugin for displaying images on the terminal using the `catimg.sh` script provided by [posva](https://github.com/posva/catimg)
|
|
|
|
To use it, add `catimg` to the plugins array in your zshrc file:
|
|
|
|
```zsh
|
|
plugins=(... catimg)
|
|
```
|
|
|
|
## Requirements
|
|
|
|
- `convert` (ImageMagick)
|
|
|
|
## 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)
|