From ba341fa37445a8934be09b977cc8e8382ae59407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Berkan=20=C3=9Cnal?= <32255826+brkn@users.noreply.github.com> Date: Thu, 29 Apr 2021 11:39:01 +0300 Subject: [PATCH 1/2] Simplify oh my zsh installation steps --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 138a088..c8249a6 100644 --- a/README.md +++ b/README.md @@ -57,9 +57,17 @@ Antigen will handle cloning the plugin for you automatically the next time you s ### [Oh-My-Zsh](http://ohmyz.sh/) -1. `cd ~/.oh-my-zsh/custom/plugins` -2. `git clone https://github.com/mroth/evalcache` -3. Add *evalcache* to your plugin list - edit `~.zshrc` and change `plugins=(...)` to `plugins=(... evalcache)` +1. Clone this repository into `$ZSH_CUSTOM/plugins` (by default `~/.oh-my-zsh/custom/plugins`) + + ```sh + git clone https://github.com/mroth/evalcache ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/evalcache + ``` + +2. Edit `~.zshrc` to add *evalcache* to your plugin list, + ```diff + - plugins=(...) + + plugins=(... evalcache) + ``` ### [Zgen](https://github.com/tarjoilija/zgen) From 872cece68d15111db48b4120f2f9dcf656a7b9d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Berkan=20=C3=9Cnal?= <32255826+brkn@users.noreply.github.com> Date: Thu, 29 Apr 2021 16:55:47 +0300 Subject: [PATCH 2/2] Add missing slash Co-authored-by: Matthew Rothenberg --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c8249a6..d6e272c 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Antigen will handle cloning the plugin for you automatically the next time you s git clone https://github.com/mroth/evalcache ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/evalcache ``` -2. Edit `~.zshrc` to add *evalcache* to your plugin list, +2. Edit `~/.zshrc` to add *evalcache* to your plugin list, ```diff - plugins=(...) + plugins=(... evalcache)