From 878430b71536b2deec240e4a95d5e3764367e60b Mon Sep 17 00:00:00 2001 From: Michael Allen Date: Wed, 26 Aug 2015 16:37:20 +0100 Subject: Update docs to mention escaping the execution --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3