Skip to content

Commit

Permalink
22 installation instruction for zgen is incorrect (#23)
Browse files Browse the repository at this point in the history
* Update THEME_GUIDE.md

* Update README.md
  • Loading branch information
ss-o authored Apr 27, 2022
1 parent 3d582cb commit 8a081e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Add the following to your `.zshrc` file in the same place you're doing
your other `zgen load` calls in.

```zsh
zgen load z-shell/F-Sy-H
zgen load z-shell/F-Sy-H . main
```

### Oh-My-Zsh
Expand Down Expand Up @@ -242,7 +242,7 @@ Exact highlighting that recognizes quotings.

<div style="width:100%;background-color:black;border:3px solid black;border-radius:6px;margin:5px 0;padding:2px 5px">
<img
src="https://raw.githubusercontent.com/z-shell/F-Sy-H/main/images/ideal-string.png"
src="https://raw.githubusercontent.com/z-shell/F-Sy-H/main/docs/images/ideal-string.png"
alt="image could not be loaded"
style="color:red;background-color:black;font-weight:bold"
/>
Expand Down
4 changes: 2 additions & 2 deletions docs/THEME_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ Secondary theme (`zdharma` in the example) will be used for highlighting of argu
and of `$( ... )` interior (i.e. of interior of command substitution). Basically, recursive
highlighting uses alternate theme to make the highlighted code distinct:

![sshot](https://raw.githubusercontent.com/z-shell/fast-syntax-highlighting/main/images/cmdsubst.png)
![sshot](https://raw.githubusercontent.com/z-shell/F-Sy-H/main/docs/images/cmdsubst.png)

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

![image](https://raw.githubusercontent.com/z-shell/fast-syntax-highlighting/main/images/eval_cmp.png)
![image](https://raw.githubusercontent.com/z-shell/F-Sy-H/main/docs/images/eval_cmp.png)

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

0 comments on commit 8a081e1

Please sign in to comment.