docs: add -- global flag
[webi-installers/.git] / delta / README.md
index c53acc3c37d2fe123bc2e8d84ce2c549de39a007..fc7a7e586fd54bd47e48810f6d0d46ad522b1c9b 100644 (file)
@@ -7,6 +7,8 @@ tagline: |
 
 To update or switch versions, run `webi delta` (or `@0.9.1`, `@0.9.0`, etc).
 
+**Note**: You should install [git](./git) before installing `delta`.
+
 ## Cheat Sheet
 
 > `delta` gives you GitHub-style diffs, with word-level diff coloring, right in
@@ -42,7 +44,7 @@ Delta uses `~/.gitconfig` for most of its options.
 Set `delta.syntax-theme` to change the color scheme:
 
 ```bash
-git config delta.syntax-theme 'Coldark-Dark'
+git config --global delta.syntax-theme 'Coldark-Dark'
 ```
 
 ## How to list / preview delta's themes
@@ -117,7 +119,7 @@ git config --global page.reflog delta
 
 git config --global interactive.diffFilter 'delta --color-only'
 
-git config delta.syntax-theme 'Coldark-Dark'
+git config --global delta.syntax-theme 'Coldark-Dark'
 ```
 
 Your `~/.gitconfig` will then contain these sections and options: