Procházet zdrojové kódy

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

Fixes #646.
pull/689/head
Daniel Shahaf před 4 roky
odevzdal Daniel Shahaf
rodič
revize
1a752da1c2
4 změnil soubory, kde provedl 6 přidání a 1 odebrání
  1. +5
    -0
      README.md
  2. +1
    -1
      highlighters/main/main-highlighter.zsh
  3. binární
      images/after4-smaller.png
  4. binární
      images/before4-smaller.png

+ 5
- 0
README.md Zobrazit soubor

@ -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 Zobrazit soubor

@ -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ární
images/after4-smaller.png Zobrazit soubor

Před Za
Šířka: 258  |  Výška: 19  |  Velikost: 3.1 KiB

binární
images/before4-smaller.png Zobrazit soubor

Před Za
Šířka: 258  |  Výška: 19  |  Velikost: 2.9 KiB

Načítá se…
Zrušit
Uložit