nojhan/liquidprompt — pull request #89 by jaesivsm (2013-01-10 12:54:53+00:00)
Title: Feature/dirtrim

Implementing path shortening with bash built-in feature by setting PROMPT_DIRTRIM.

To use this feature, path shortening must be activated and PROMPT_DIRTRIM must be already set. If PROMPT_DIRTRIM isn't set when sourcing liquidprompt, _lp_shorten_path will shorten the displayed path.