From ffb301e21b95c5677401d9f79ef3e92130df7115 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 20 Aug 2023 18:39:36 +0200 Subject: [PATCH] bash/ps1/real --- bash/bash/prompt.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bash/bash/prompt.sh b/bash/bash/prompt.sh index a245867..70e8454 100644 --- a/bash/bash/prompt.sh +++ b/bash/bash/prompt.sh @@ -21,13 +21,12 @@ local view="\ view="${view} –\e[0;35m${git}\e[0m" fi fi - view="${view} -┌ " if [ "${path}" != "${real}" ] ; then - view="${view}\e[0;36m${real}\e[0m -├ " + view="${view} +\e[0;36m${real}\e[0m" fi - view="${view}\e[0;36m${path}\e[0m + view="${view} +┌ \e[0;36m${path}\e[0m ${PS2}" echo -e "${view}" }