nojhan/liquidprompt — pull request #167 by dolmen (2013-05-04 22:21:38+00:00)
Title: Optimize bash/zsh checks

Avoid string comparisons. Use instead `true`/`false` builtins.
`_LP_WORKING_SHELL` disappears in favor of `_LP_SHELL_bash` and `_LP_SHELL_zsh`.

So:

if [[ $_LP_WORKING_SHELL == bash ]]

becomes:

if $_LP_SHELL_bash