nojhan/liquidprompt — pull request #218 by danielkza (2013-08-20 13:10:33+00:00)
Title: Avoid spilling error messages when temp. sensors are unavailable

The `sensors` command prints out error messages if there are no actual
sensors available. Seeing them at every prompt is not good UX. It also
caused a division by 0 due to assuming the sensor count is always >= 1.
Fix both issues by redirecting stderr to /dev/null and checking for a
sensor count of 0.