Skip to content

Commit 770bcd9

Browse files
authored
maint: update links (e.g., zdharma -> zdharma-continuum) (#41)
Authored by: @wangl-cc
1 parent 13dd94b commit 770bcd9

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

CHANGELOG.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ program arguments. See the introduction for an example (item #14).
99

1010
Global aliases are now supported:
1111

12-
![image](https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/images/global-alias.png)
12+
![image](https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/images/global-alias.png)
1313

1414
**2018-08-01**
1515

@@ -35,7 +35,7 @@ If you have set theme before an update of styles (e.g. recent addition of bracke
3535

3636
Ideal highlighting of brackets (pairing, etc.) – no quoting can disturb the result:
3737

38-
![image](https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/images/brackets.gif)
38+
![image](https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/images/brackets.gif)
3939

4040
`FAST_HIGHLIGHT[use_brackets]=1` to enable this feature (**2018-07-31**: not needed anymore, this highlighting is active
4141
by default).
@@ -69,29 +69,29 @@ FSH gained a new architecture – "chroma functions". They are similar to "compl
6969
[example chroma](https://github.com/zdharma/fast-syntax-highlighting/blob/master/chroma/-example.ch) if you would like
7070
to highlight a command.
7171

72-
![sshot](https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/images/git_chroma.png)
72+
![sshot](https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/images/git_chroma.png)
7373

7474
**2018-06-01**
7575

7676
Highlighting of command substitution (i.e. `$(...)`) with alternate theme – two themes at once! It was just white
7777
before:
7878

79-
![sshot](https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/images/cmdsubst.png)
79+
![sshot](https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/images/cmdsubst.png)
8080

8181
To select which theme to use for `$(...)` set the key `secondary=` in
8282
[theme ini file](https://github.com/zdharma/fast-syntax-highlighting/blob/master/themes/free.ini#L7). All shipped themes
8383
have this key set (only the `default` theme doesn't use second theme).
8484

8585
Also added correct highlighting of descriptor-variables passed to `exec`:
8686

87-
![sshot](https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/images/execfd.png)
87+
![sshot](https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/images/execfd.png)
8888

8989
**2018-05-30**
9090

9191
For-loop is highlighted, it has separate settings in
9292
[theme file](https://github.com/zdharma/fast-syntax-highlighting/blob/master/themes/free.ini).
9393

94-
![sshot](https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/images/for-loop.png)
94+
![sshot](https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/images/for-loop.png)
9595

9696
**2018-05-27**
9797

@@ -113,18 +113,18 @@ FAST_BLIST_PATTERNS[/mount/disk2/*]=1
113113

114114
Assign colorizing now spans to variables defined by `typeset`, `export`, `local`, etc.:
115115

116-
![sshot](https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/images/typeset.png)
116+
![sshot](https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/images/typeset.png)
117117

118118
Also, `zcalc` has a separate math mode and specialized highlighting – no more light-red colors because of treating
119119
`zcalc` like a regular command-line:
120120

121-
![sshot](https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/images/zcalc.png)
121+
![sshot](https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/images/zcalc.png)
122122

123123
**2018-05-22**
124124

125125
Array assignments were still boring, so I throwed in bracked colorizing:
126126

127-
![sshot](https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/images/array-assign.png)
127+
![sshot](https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/images/array-assign.png)
128128

129129
**2018-05-22**<a name="assign-update"></a>
130130

@@ -134,7 +134,7 @@ Assignments are no more one-colour default-white. When used in assignment, highl
134134
- strings (double-quoted and single-quoted),
135135
- math-mode (`val=$(( ... ))`).
136136

137-
![sshot](https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/images/assign.png)
137+
![sshot](https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/images/assign.png)
138138

139139
**2018-01-06**
140140

@@ -144,4 +144,4 @@ style names (fields of
144144
math-variable, number and empty variable (error): `mathvar`, `mathnum`, `matherr`. You can set them (like the animation
145145
below shows) to change colors.
146146

147-
![animation](https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/images/math.gif)
147+
![animation](https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/images/math.gif)

THEME_GUIDE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ Secondary theme (`zdharma` in the example) will be used for highlighting of argu
5353
interior (i.e. of interior of command substitution). Basically, recursive highlighting uses alternate theme to make the
5454
highlighted code distinct:
5555

56-
![sshot](https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/images/cmdsubst.png)
56+
![sshot](https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/images/cmdsubst.png)
5757

5858
In the above screen-shot the interior of `$( ... )` uses different colors than the rest of the code. Example for `eval`:
5959

60-
![image](https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/images/eval_cmp.png)
60+
![image](https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/images/eval_cmp.png)
6161

6262
First line doesn't use recursive highlighting, highlights `eval` argument as regular string. Second line switches theme
6363
to `zdharma` and does full recursive highlighting of eval argument.

fast-syntax-highlighting.plugin.zsh

+2-2
Original file line numberDiff line numberDiff line change
@@ -366,11 +366,11 @@ alias fsh-alias=fast-theme
366366
if [[ ! -e $FAST_WORK_DIR/secondary_theme.zsh ]] {
367367
if { type curl &>/dev/null } {
368368
curl -fsSL -o "$FAST_WORK_DIR/secondary_theme.zsh" \
369-
https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/share/free_theme.zsh \
369+
https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/share/free_theme.zsh \
370370
&>/dev/null
371371
} elif { type wget &>/dev/null } {
372372
wget -O "$FAST_WORK_DIR/secondary_theme.zsh" \
373-
https://raw.githubusercontent.com/zdharma/fast-syntax-highlighting/master/share/free_theme.zsh \
373+
https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/share/free_theme.zsh \
374374
&>/dev/null
375375
}
376376
touch "$FAST_WORK_DIR/secondary_theme.zsh"

0 commit comments

Comments
 (0)