1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 19:06:15 +08:00
ohmyzsh/plugins/catimg
Jacob Tomaw c130aadb6a Replace "restart shell" documentation "exec zsh" (#8411)
Running `source ~/.zshrc` can have side effects, it's better to reload the whole 
zsh session with `exec zsh`.
2019-11-19 19:44:00 +01:00
..
catimg.plugin.zsh Capitalizate github to GitHub (#5932) 2019-05-07 20:02:41 +02:00
catimg.sh Capitalizate github to GitHub (#5932) 2019-05-07 20:02:41 +02:00
colors.png catimg plugin 2013-12-09 08:54:38 +01:00
README.md Replace "restart shell" documentation "exec zsh" (#8411) 2019-11-19 19:44:00 +01:00

catimg

Plugin for displaying images on the terminal using the the catimg.sh script provided by posva

Requirements

  • convert (ImageMagick)

Enabling the plugin

  1. Open your .zshrc file and add catimg in the plugins section:

    plugins=(
        # all your enabled plugins
        catimg
    )
    
  2. Restart the shell or restart your Terminal session:

    $ exec zsh
    $
    

Functions

Function Description
catimg Displays the given image on the terminal

Usage examples

asciicast