.oh-my-zsh Plugin for Asciidoctor
Download the plugin into the custom plugin folder of oh-my-zsh
cd $ZSH/custom/plugins
git clone https://github.com/sparsick/asciidoctor-zsh asciidoctor
Activate the plugin. Add asciidoctor
to the plugins
list in the file .zshrc
plugins=(git git-extras history mvn web-search asciidoctor)
Alias | Command |
---|---|
adoc | asciidoctor -D target |
adocpdf | asciidoctor -r asciidoctor-pdf -b pdf -D target |