From 9e46dc2520728237e48f9fea879b85601a3aebf3 Mon Sep 17 00:00:00 2001 From: Steven Hall Date: Mon, 28 Sep 2015 22:20:16 -0700 Subject: Updated readme with --fetch_t feature. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 ` 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 -- cgit v1.2.3