From: Iain Patterson Date: Wed, 16 Mar 2016 10:04:34 +0000 (+0000) Subject: Handle the case where $HOME has a trailing slash. X-Git-Url: http://git.iain.cx/?p=profile.git;a=commitdiff_plain;h=2b1bf28a9ce5697d91e668bcb6569ef3202f1b90;hp=2b1bf28a9ce5697d91e668bcb6569ef3202f1b90;ds=sidebyside Handle the case where $HOME has a trailing slash. $HOME should not have a trailing slash. But if it does we would eat it in __ps1_short() and leave an incorrect prompt. ---