From f613b5430f93c971bb398539ebc97ce210f9cd11 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Sun, 6 Jun 2021 01:54:49 +0300 Subject: [PATCH] chore: add ohmyzsh to readme --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index f3e9785..bb66c1a 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,22 @@ Add this to your configuration (usually `~/.zshrc`): eval "$(zoxide init zsh)" ``` +If you are using the [Oh My Zsh](https://github.com/ohmyzsh/ohmyzsh) framework, +you can add the plugin with the following command + +```sh +mkdir -p "$ZSH/plugins/zoxide" && zoxide init zsh > "$ZSH/plugins/zoxide/zoxide.plugin.zsh" +``` + +Next, add the plugin `zoxide` to `.zshrc` + +``` +plugins=( + # ... + zoxide +) +``` + #### Any POSIX shell Add this to your configuration: