summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Hall <Hallzy.18@gmail.com>2015-09-28 22:20:16 -0700
committerSteven Hall <Hallzy.18@gmail.com>2015-10-15 13:01:41 -0700
commit9e46dc2520728237e48f9fea879b85601a3aebf3 (patch)
tree1e4e95523b7c4d079757bb20fd9fb2a111ce0144
parent00f2a8c908e299d08e2efad038da25b2d5446976 (diff)
downloadgit-sonar-9e46dc2520728237e48f9fea879b85601a3aebf3.tar.gz
git-sonar-9e46dc2520728237e48f9fea879b85601a3aebf3.zip
Updated readme with --fetch_t feature.
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3ef156d..c54764f 100644
--- a/README.md
+++ b/README.md
@@ -182,6 +182,15 @@ export PROMPT="$PROMPT\$(git-radar --zsh --fetch) "
```
[(note: the `\` escaping the `$` is important)](#ensuring-prompt-execution)
+You may also choose to use the `--fetch_t` option to specify your own fetch
+times. `--fetch` defaults to fetch automatically every 5 minutes. With
+`--fetch_t <seconds>` you can choose how often to fetch.
+
+eg.
+```bash
+export PS1="$PS1\$(git-radar --bash --fetch_t 30)"
+```
+
## Customise your prompt
Git Radar is highly customisable using a prompt format string. The 4 features
@@ -226,6 +235,7 @@ The default prompt format uses this to add spaces only if the feature would
render. In that way the prompt always looks well spaced out no matter how many
features are rendering.
+
## Support
### Ensuring prompt execution