Selaa lähdekoodia

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

Fixes #646.
pull/689/head
Daniel Shahaf 4 vuotta sitten
committed by Daniel Shahaf
vanhempi
commit
1a752da1c2
4 muutettua tiedostoa jossa 6 lisäystä ja 1 poistoa
  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 Näytä tiedosto

@ -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 Näytä tiedosto

@ -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 Näytä tiedosto

Before After
Leveys: 258  |  Korkeus: 19  |  Koko: 3.1 KiB

BIN
images/before4-smaller.png Näytä tiedosto

Before After
Leveys: 258  |  Korkeus: 19  |  Koko: 2.9 KiB

Ladataan…
Peruuta
Tallenna