added ohmyzsh section to README

Basic shell command to add zoxide via ohmyzsh plugin manager

Tested and working with ohmyzsh on my  ubuntu machine after installing zoxide with cargo

The command may be able to be made shorter or more portable.
This commit is contained in:
Riley Shea 2020-03-09 03:26:25 -04:00 committed by GitHub
parent f9f1db8f30
commit 22b5ba4430
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -66,6 +66,14 @@ Using [antibody](https://github.com/getantibody/antibody):
antibody bundle ajeetdsouza/zoxide
```
Using [ohmyzsh](https://github.com/ohmyzsh/ohmyzsh)
```sh
mkdir -p $HOME/.oh-my-zsh/custom/plugins/zoxide && curl https://github.com/ajeetdsouza/zoxide/raw/master/zoxide.plugin.zsh -o $HOME/.oh-my-zsh/custom/plugins/zoxide/zoxide.plugin.zsh
```
Then add `zoxide` to the plugins section in your `.zshrc`
Using [zinit](https://github.com/zdharma/zinit):
```sh