You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
745 B
35 lines
745 B
# catimg |
|
|
|
Plugin for displaying images on the terminal using the the `catimg.sh` script provided by [posva](https://github.com/posva/catimg) |
|
|
|
## Requirements |
|
|
|
- `convert` (ImageMagick) |
|
|
|
## Enabling the plugin |
|
|
|
1. Open your `.zshrc` file and add `catimg` in the plugins section: |
|
|
|
```zsh |
|
plugins=( |
|
# all your enabled plugins |
|
catimg |
|
) |
|
``` |
|
|
|
2. Restart the shell or restart your Terminal session: |
|
|
|
```console |
|
$ exec zsh |
|
$ |
|
``` |
|
|
|
## Functions |
|
|
|
| Function | Description | |
|
| -------- | ---------------------------------------- | |
|
| `catimg` | Displays the given image on the terminal | |
|
|
|
## Usage examples |
|
|
|
[](https://asciinema.org/a/204702)
|
|
|