diff options
author | mail_redacted_for_web | 2024-05-25 12:52:52 +0200 |
---|---|---|
committer | mail_redacted_for_web | 2024-05-25 12:52:52 +0200 |
commit | 1d5f4b8d45978071316e322fd186c0522daba0de (patch) | |
tree | 4bd92167ed1d8a116a0dcf0e821d5deeb4ee7d32 | |
parent | ffb6d1b728a0c993792488c606dc1a5206eaec52 (diff) | |
download | dotfiles-1d5f4b8d45978071316e322fd186c0522daba0de.tar.bz2 |
NEW FEATURE: prompt may be quite long, we now start input on a completely new line
-rw-r--r-- | .bash/prompt.bash | 4 |
1 files 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 |