Skip to content

Commit

Permalink
Update README.asciidoc
Browse files Browse the repository at this point in the history
Add instructions to install as a plugin with Oh-My-zsh
  • Loading branch information
iax7 committed Sep 14, 2019
1 parent b9c90bd commit 9128b5f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.asciidoc
Expand Up @@ -42,6 +42,22 @@ You can install it in *one of these ways*:
- copy and paste `h()` function in your `~/.bashrc`
- configure your `~/.bashrc` to load the external script with `. /path/to/h.sh`

==== Zsh with Oh-My-Zsh
Just run the following commands
```bash
cd $ZSH_CUSTOM/plugins
git clone git@github.com:paoloantinori/hhighlighter.git h
mv h/h.sh h/h.plugin.zsh
```

then add *h* to your plugins variable in your `~/.zshrc` file.
```bash
plugins=(
h
...
)
```

=== Platform Specifics

*h* has currently been tested only on *bash* and *zsh* on *Linux* and *MacOSX*.
Expand Down

0 comments on commit 9128b5f

Please sign in to comment.