nojhan/liquidprompt — pull request #257 by polyphemus (2014-01-12 21:08:13+00:00)
Title: shorten_path: Escape '%' instead of using a var

When ${var//orig/replace} is intended with orig as '%' there is no need
to use a variable to avoid the '//%' form if the '%' is escaped.