From 1d5f4b8d45978071316e322fd186c0522daba0de Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sat, 25 May 2024 12:52:52 +0200 Subject: NEW FEATURE: prompt may be quite long, we now start input on a completely new line --- .bash/prompt.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bash/prompt.bash b/.bash/prompt.bash index b9f4703..6914d63 100644 --- a/.bash/prompt.bash +++ b/.bash/prompt.bash @@ -139,10 +139,10 @@ __prompt_command() { fi case "$MYUID" in 0) - PS1="\\# \[$(tput bold)\]\[$($FGC1)\]\\u\[$($FGC2)\]@$PHN \[$($FGC3)\]\\w \[$(tput sgr0)\]" + PS1="\\# \[$(tput bold)\]\[$($FGC1)\]\\u\[$($FGC2)\]@$PHN \[$($FGC3)\]\\w \[$(tput sgr0)\]\\n" ;; *) - PS1="\\# \[$(tput bold)\]\[$($FGC1)\]\t \[$($FGC2)\]\\u$UHSEP\[$($FGC3)\]$PHN \\w \[$(tput sgr0)\]" + PS1="\\# \[$(tput bold)\]\[$($FGC1)\]\t \[$($FGC2)\]\\u$UHSEP\[$($FGC3)\]$PHN \\w \[$(tput sgr0)\]\\n" ;; esac if command -v __git_ps1 >/dev/null 2>&1;then PS1+="$(__git_ps1 "%s ")";fi -- cgit v1.2.3