summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMichael Allen <michael@michaelallen.io>2015-08-26 16:37:20 +0100
committerMichael Allen <michael@michaelallen.io>2015-08-26 16:37:45 +0100
commit878430b71536b2deec240e4a95d5e3764367e60b (patch)
tree3d6ccbfd8999a329e4fc925b9b0c5b4b714cabf5 /README.md
parent670471cbbee32e461773e8f549f7770a5949a078 (diff)
downloadgit-sonar-878430b71536b2deec240e4a95d5e3764367e60b.tar.gz
git-sonar-878430b71536b2deec240e4a95d5e3764367e60b.zip
Update docs to mention escaping the execution
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 06ca55c..d4bd3dd 100644
--- a/README.md
+++ b/README.md
@@ -27,8 +27,9 @@ ways depending on your shell.
Add to your `.bashrc`
```bash
-export PS1="$PS1$(git-radar --bash --fetch)"
+export PS1="$PS1\$(git-radar --bash --fetch)"
```
+(note: the `\` escaping the `$` is important)
**Zsh**
@@ -114,8 +115,9 @@ To use this feature, when setting your prompt, call git-radar with `--fetch`:
**Bash**
```bash
-export PS1="$PS1$(git-radar --bash --fetch)"
+export PS1="$PS1\$(git-radar --bash --fetch)"
```
+(note: the `\` escaping the `$` is important)
**Zsh**
```zsh