From 04139670102da2bbe21f4e8f7c54dd9ee9b9bbd1 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Mon, 13 Aug 2012 17:19:50 +0200 Subject: [PATCH] cosmetic --- bash/prompt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bash/prompt b/bash/prompt index 4a4b74f..a766fc6 100644 --- a/bash/prompt +++ b/bash/prompt @@ -24,7 +24,8 @@ __truncate_left() { } __truncate_dir() { - dir=${1/#$HOME/\~} #gain some place with '~' + #gain some place with '~' + dir=${1/#$HOME/\~} __truncate_left "$dir" 25 '…' '/' }