Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
43e5c909
Commit
43e5c909
authored
Oct 05, 2018
by
Griko Nibras
Committed by
Marc Cornellà
Oct 05, 2018
Browse files
catimg: add README (#7232)
parent
50cb0846
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/catimg/README.md
0 → 100644
View file @
43e5c909
# 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.
Reload the source file or restart your Terminal session:
```
console
$
source
~/.zshrc
$
```
## Functions
| Function | Description |
| -------- | ---------------------------------------- |
|
`catimg`
| Displays the given image on the terminal |
## Usage examples
[

](https://asciinema.org/a/204702)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment