diff options
author | Michael Allen <michael@michaelallen.io> | 2015-08-26 16:37:20 +0100 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-08-26 16:37:45 +0100 |
commit | 878430b71536b2deec240e4a95d5e3764367e60b (patch) | |
tree | 3d6ccbfd8999a329e4fc925b9b0c5b4b714cabf5 /README.md | |
parent | 670471cbbee32e461773e8f549f7770a5949a078 (diff) | |
download | git-sonar-878430b71536b2deec240e4a95d5e3764367e60b.tar.gz git-sonar-878430b71536b2deec240e4a95d5e3764367e60b.zip |
Update docs to mention escaping the execution
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |