robbyrussell/oh-my-zsh — pull request #2620 by reedriley (2014-03-17 16:08:55+00:00)
Title: Fixed errors if acpitool isn't installed on linux

Currently, when acpitool isn't installed, I get an error every time my prompt tries to call battery_pct:
```
battery_pct:1: command not found: acpi
```

This change fixes the error by guarding the call to acpi with a check that it's actually installed and executable.