From 22b5ba443082c6ae9fa5d1d04713d54dfa8e14a2 Mon Sep 17 00:00:00 2001 From: Riley Shea Date: Mon, 9 Mar 2020 03:26:25 -0400 Subject: [PATCH] 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. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 8b2aa36..9946198 100644 --- a/README.md +++ b/README.md @@ -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