Pārlūkot izejas kodu

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

Fixes #646.
pull/689/head
Daniel Shahaf pirms 4 gadiem
revīziju iesūtīja Daniel Shahaf
vecāks
revīzija
1a752da1c2
4 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  1. +5
    -0
      README.md
  2. +1
    -1
      highlighters/main/main-highlighter.zsh
  3. Binārs
      images/after4-smaller.png
  4. Binārs
      images/before4-smaller.png

+ 5
- 0
README.md Parādīt failu

@ -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 Parādīt failu

@ -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ārs
images/after4-smaller.png Parādīt failu

Pirms Pēc
Platums: 258  |  Augstums: 19  |  Izmērs: 3.1 KiB

Binārs
images/before4-smaller.png Parādīt failu

Pirms Pēc
Platums: 258  |  Augstums: 19  |  Izmērs: 2.9 KiB

Notiek ielāde…
Atcelt
Saglabāt