nojhan/liquidprompt — pull request #51 by dolmen (2012-08-16 14:50:53+00:00)
Title: Disable SCM early if its command is missing

`LP_ENABLE_{GIT,SVN,HG}` is set to 0 if its command is not available in `$PATH`.

@ldidry Also fixes errors in handling of the `LP_ENABLE_{GIT,SVN,HG}` variables:
* Shell functions do not return a string but an error code. 4b42dffb665d10016346d308314bea0c27da8108
* Boolean type does not exist in shell, so we now only handle `== 1` or `!= 1`. 7d4ca7700945a74b2c078e75aff9bdf68df23aa0