From: Iain Patterson Date: Tue, 2 Feb 2016 10:44:29 +0000 (+0000) Subject: Respect PROMPT_DIRTRIM with some enhancements. X-Git-Url: http://git.iain.cx/?p=profile.git;a=commitdiff_plain;h=d2bb143d0545987c58f65a8b18c502f792f3f748;hp=d2bb143d0545987c58f65a8b18c502f792f3f748 Respect PROMPT_DIRTRIM with some enhancements. Shorten the path in the prompt when PROMPT_DIRTRIM is set but do so by truncating components lower in the path rather than replacing them with elipses. ---