From e55e81a7157ab209d84abe15de3073b602760fff Mon Sep 17 00:00:00 2001
From: Harald Pfeiffer <coding@lirion.de>
Date: Fri, 10 Jan 2025 11:14:30 +0100
Subject: make the prompt's command counter dim and italic

---
 .bash/prompt.bash | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to '.bash')

diff --git a/.bash/prompt.bash b/.bash/prompt.bash
index c5b8c92..178503a 100644
--- a/.bash/prompt.bash
+++ b/.bash/prompt.bash
@@ -151,10 +151,10 @@ __prompt_command() {
 	fi
 	case "$MYUID" in
 		0)
-			PS1="\\# \[$(tput bold)\]\[$($FGC1)\]\\u\[$($FGC2)\]@$PHN \[$($FGC3)\]\\w \[$(tput sgr0)\]\\n"
+			PS1="\[\\033[2m\\033[3m\]\\#\[\\033[0m\] \[$(tput bold)\]\[$($FGC1)\]\\u\[$($FGC2)\]@$PHN \[$($FGC3)\]\\w \[$(tput sgr0)\]\\n"
 		;;
 		*)
-			PS1="\\# \[$(tput bold)\]\[$($FGC1)\]\t \[$($FGC2)\]\\u$UHSEP\[$($FGC3)\]$PHN \\w \[$(tput sgr0)\]\\n"
+			PS1="\[\\033[2m\\033[3m\]\\#\[\\033[0m\] \[$(tput bold)\]\[$($FGC1)\]\t \[$($FGC2)\]\\u$UHSEP\[$($FGC3)\]$PHN \\w \[$(tput sgr0)\]\\n"
 		;;
 	esac
 	# git-completion. Sources:
-- 
cgit v1.2.3