docs(install): Easier way to install using omz

This commit is contained in:
gavin 2022-05-11 00:01:51 +05:30
parent c5ce001467
commit 4e7985a928

View File

@ -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 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 ```zsh
plugins=( [plugins...] zsh-syntax-highlighting) omz plugin enable zsh-syntax-highlighting
``` ```
This updates your `.zshrc` file and enables the plugin in your current session as well.
3. Restart zsh (such as by opening a new instance of your terminal emulator).
#### [Prezto](https://github.com/sorin-ionescu/prezto) #### [Prezto](https://github.com/sorin-ionescu/prezto)