nojhan/liquidprompt — pull request #41 by dolmen (2012-08-14 22:27:46+00:00)
Title: Refactor OS specific code

Refactoring OS specific code:

* merge Darwin with FreeBSD
* refactor _lp_CPUNUM without functions
* use a single function for _lp_cpu_load
* refactor _lp_load_color to avoid using LP_OS
* other optimizations in _lp_load_color (more to do)
* now that LP_OS is not used at runtime, unset LP_OS before runtime