소스 검색

docs: ZSH_HIGHLIGHT_HIGHLIGHTERS is (main) by default

pull/931/head
Henry Bley-Vroman 1 년 전
committed by Matthew Martin
부모
커밋
1386f1213e
1개의 변경된 파일4개의 추가작업 그리고 6개의 파일을 삭제
  1. +4
    -6
      docs/highlighters.md

+ 4
- 6
docs/highlighters.md 파일 보기

@ -40,16 +40,14 @@ ZSH_HIGHLIGHT_MAXLENGTH=512
How to activate highlighters
----------------------------
To activate an highlighter, add it to the `ZSH_HIGHLIGHT_HIGHLIGHTERS` array in
`~/.zshrc`, for example:
To activate an highlighter, add it to the `ZSH_HIGHLIGHT_HIGHLIGHTERS` array.
By default `ZSH_HIGHLIGHT_HIGHLIGHTERS` is `(main)`. For example to activate
`brackets`, `pattern`, and `cursor` highlighters, in `~/.zshrc` do:
```zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
ZSH_HIGHLIGHT_HIGHLIGHTERS+=(brackets pattern cursor)
```
By default, `$ZSH_HIGHLIGHT_HIGHLIGHTERS` is unset and only the `main`
highlighter is active.
How to tweak highlighters
-------------------------

불러오는 중...
취소
저장