Conditionalise git pull check

Whilst a nice feature, firing off a `git fetch` (and so an SSH/http call) after
*every* shell interaction is a bit heavy for my liking. This adds the ability to
disable it (whilst keeping it enabled by default).
This commit is contained in:
Tom Vincent
2013-10-30 01:10:05 +00:00
committed by Sindre Sorhus
parent e07a613111
commit 259a72c53b
2 changed files with 4 additions and 1 deletions

View File

@@ -54,6 +54,9 @@ prompt pure
The max execution time of a process before its run time is shown when it exits. Defaults to `5` seconds.
### `PURE_GIT_PULL`
Set `PURE_GIT_PULL=false` to prevent Pure from checking whether the current Git remote has been updated.
## Example