From 506a4a058d9cc182ad45e34e5892aeda3c0baeaf Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Thu, 2 Mar 2017 19:39:10 +0100 Subject: Change no-newline and rule characters I've seen the prohibited sign elsewhere before (on Github IIRC), I find it neat. Using the box drawing rather than the long dash ensures the line looks continuous even in TTYs. --- .bash_prompt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.bash_prompt') diff --git a/.bash_prompt b/.bash_prompt index 7a55f35..59cf090 100644 --- a/.bash_prompt +++ b/.bash_prompt @@ -142,8 +142,7 @@ __current-column () __signal-no-newline () { - local signal="/\n" - __fontify ${signal} bold red + echo $(__fontify 🛇 bold red) } __draw-rule () @@ -152,7 +151,7 @@ __draw-rule () for ((i=$(__current-column); i