nojhan/liquidprompt — pull request #60 by dolmen (2012-08-17 17:00:51+00:00)
Title: Refactor color definition ; Cleanup colors once config is loaded

> This is an alternative to pull request #39 (terminfo compiler). But it does not compresses escape sequences as the perl one does.

Now use TermInfo feature detection instead of just distinguishing if `$OS == FreeBSD`. This will allow support for more terminal definitions thanks to dynamic terminfo fallback.

Cleanup color variables (BLACK, WHITE, BLUE, BOLD...) once the config file has been loaded as color variables are not used at runtime (fixes pollution, see issue #28).