twolfson/sexy-bash-prompt — pull request #34 by rpdelaney (2014-05-23 20:14:02+00:00)
Title: give more informative error messages if sudo was not found

Doing some testing for the latency issues we've been discussing on my cygwin system. In cygwin there is no sudo, so this test would fail with an inappropriate error message. I added a dependency check before running the test so that if sudo isn't installed, or we don't have privileges to run it, there's a clear error message.