소스 검색

Highlight redirections by default, and add that to the examples in README.

Fixes #646.
pull/689/head
Daniel Shahaf 4 년 전
committed by Daniel Shahaf
부모
커밋
1a752da1c2
4개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. +5
    -0
      README.md
  2. +1
    -1
      highlighters/main/main-highlighter.zsh
  3. BIN
      images/after4-smaller.png
  4. BIN
      images/before4-smaller.png

+ 5
- 0
README.md 파일 보기

@ -27,6 +27,11 @@ Before: [![Screenshot #3.1](images/before3-smaller.png)](images/before3.png)
<br/>
After:&nbsp; [![Screenshot #3.2](images/after3-smaller.png)](images/after3.png)
Before: [![Screenshot #4.1](images/before4-smaller.png)](images/before4-smaller.png)
<br/>
After:&nbsp; [![Screenshot #4.2](images/after4-smaller.png)](images/after4-smaller.png)
How to install
--------------

+ 1
- 1
highlighters/main/main-highlighter.zsh 파일 보기

@ -56,7 +56,7 @@
: ${ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]:=fg=cyan}
: ${ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]:=fg=cyan}
: ${ZSH_HIGHLIGHT_STYLES[assign]:=none}
: ${ZSH_HIGHLIGHT_STYLES[redirection]:=none}
: ${ZSH_HIGHLIGHT_STYLES[redirection]:=fg=yellow}
: ${ZSH_HIGHLIGHT_STYLES[comment]:=fg=black,bold}
: ${ZSH_HIGHLIGHT_STYLES[named-fd]:=none}
: ${ZSH_HIGHLIGHT_STYLES[arg0]:=fg=green}

BIN
images/after4-smaller.png 파일 보기

Before After
Width: 258  |  Height: 19  |  Size: 3.1 KiB

BIN
images/before4-smaller.png 파일 보기

Before After
Width: 258  |  Height: 19  |  Size: 2.9 KiB

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