From 4e7985a92887990b02eff7a58f985281d1add6b6 Mon Sep 17 00:00:00 2001 From: gavin Date: Wed, 11 May 2022 00:01:51 +0530 Subject: [PATCH] docs(install): Easier way to install using omz --- INSTALL.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 48b724f..39228eb 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -83,13 +83,12 @@ your `.zshrc`. git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting ``` -2. Activate the plugin in `~/.zshrc`: +2. Activate the plugin: ```zsh - plugins=( [plugins...] zsh-syntax-highlighting) + omz plugin enable zsh-syntax-highlighting ``` - -3. Restart zsh (such as by opening a new instance of your terminal emulator). +This updates your `.zshrc` file and enables the plugin in your current session as well. #### [Prezto](https://github.com/sorin-ionescu/prezto)