mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-06-05 12:36:30 +08:00
added nested list with anchor tag in index
This commit is contained in:
parent
37ae76ee28
commit
53d8df77c4
22
INSTALL.md
22
INSTALL.md
@ -5,12 +5,12 @@ How to install
|
|||||||
* [In your ~/.zshrc](#In-your-~/.zshrc)
|
* [In your ~/.zshrc](#In-your-~/.zshrc)
|
||||||
* [Using packages](#Using-packages)
|
* [Using packages](#Using-packages)
|
||||||
* [With a plugin manager](#With-a-plugin-manager)
|
* [With a plugin manager](#With-a-plugin-manager)
|
||||||
- [Antigen](#Antigen-source)
|
- [Antigen](#Antigen)
|
||||||
- [Oh-my-zsh](#oh-my-zsh)
|
- [Oh-my-zsh](#oh-my-zsh)
|
||||||
- [Prezo](#[Prezto](https://github.com/sorin-ionescu/prezto))
|
- [Prezo](#Prezto)
|
||||||
- [zgen](#[zgen](https://github.com/tarjoilija/zgen))
|
- [zgen](#zgen)
|
||||||
- [zplus](#[zplug](https://github.com/zplug/zplug))
|
- [zplus](#zplug)
|
||||||
- [zplugin](#[zplugin](https://github.com/psprint/zplugin))
|
- [zplugin](#zplugin)
|
||||||
* [System-wide installation](#System-wide-installation)
|
* [System-wide installation](#System-wide-installation)
|
||||||
|
|
||||||
### Using packages
|
### Using packages
|
||||||
@ -82,12 +82,12 @@ This list is incomplete as there are too many
|
|||||||
|
|
||||||
[framework-list]: https://github.com/unixorn/awesome-zsh-plugins#frameworks
|
[framework-list]: https://github.com/unixorn/awesome-zsh-plugins#frameworks
|
||||||
|
|
||||||
#### Antigen ([source](https://github.com/zsh-users/antigen))
|
#### [Antigen](https://github.com/zsh-users/antigen)
|
||||||
|
|
||||||
Add `antigen bundle zsh-users/zsh-syntax-highlighting` as the last bundle in
|
Add `antigen bundle zsh-users/zsh-syntax-highlighting` as the last bundle in
|
||||||
your `.zshrc`.
|
your `.zshrc`.
|
||||||
|
|
||||||
#### ([Oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh))
|
#### [Oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
|
||||||
|
|
||||||
1. Clone this repository in oh-my-zsh's plugins directory:
|
1. Clone this repository in oh-my-zsh's plugins directory:
|
||||||
|
|
||||||
@ -103,22 +103,22 @@ your `.zshrc`.
|
|||||||
|
|
||||||
3. Restart zsh (such as by opening a new instance of your terminal emulator).
|
3. Restart zsh (such as by opening a new instance of your terminal emulator).
|
||||||
|
|
||||||
#### Prezto]
|
#### [Prezto](https://github.com/sorin-ionescu/prezto)
|
||||||
|
|
||||||
Zsh-syntax-highlighting is included with Prezto. See the
|
Zsh-syntax-highlighting is included with Prezto. See the
|
||||||
[Prezto documentation][prezto-docs] to enable and configure highlighters.
|
[Prezto documentation][prezto-docs] to enable and configure highlighters.
|
||||||
|
|
||||||
[prezto-docs]: https://github.com/sorin-ionescu/prezto/tree/master/modules/syntax-highlighting
|
[prezto-docs]: https://github.com/sorin-ionescu/prezto/tree/master/modules/syntax-highlighting
|
||||||
|
|
||||||
#### zgen
|
#### [zgen](https://github.com/tarjoilija/zgen)
|
||||||
|
|
||||||
Add `zgen load zsh-users/zsh-syntax-highlighting` to the end of your `.zshrc`.
|
Add `zgen load zsh-users/zsh-syntax-highlighting` to the end of your `.zshrc`.
|
||||||
|
|
||||||
#### zplug
|
#### [zplug](https://github.com/zplug/zplug)
|
||||||
|
|
||||||
Add `zplug "zsh-users/zsh-syntax-highlighting", defer:2` to your `.zshrc`.
|
Add `zplug "zsh-users/zsh-syntax-highlighting", defer:2` to your `.zshrc`.
|
||||||
|
|
||||||
#### zplugin
|
#### [zplugin](https://github.com/psprint/zplugin)
|
||||||
|
|
||||||
Add `zplugin load zsh-users/zsh-syntax-highlighting` to the end of your
|
Add `zplugin load zsh-users/zsh-syntax-highlighting` to the end of your
|
||||||
`.zshrc`.
|
`.zshrc`.
|
||||||
|
Loading…
Reference in New Issue
Block a user