#641740 bash: please make default prompt use boldface

Package:
bash
Source:
bash
Description:
GNU Bourne Again SHell
Submitter:
Lars Wirzenius
Date:
2024-08-08 14:09:02 UTC
Severity:
wishlist
#641740#5
Date:
2011-09-15 15:25:57 UTC
From:
To:
When looking backwards through a long terminal session history (e.g.,
using shift-pageup/pagedown), it can be hard to see where the output
from each command starts. An easy way to improve this is to make
the bash prompt be in boldface: essentially, run "tput bold" before
the prompt, and "tput sgr0" after it. Something like this should
work:

    PS1="\\[$(tput bold)\\]$debian_chroot\\u@\\h\\$ \\[$(tput sgr0)\\]"

Would it be acceptable to do this for the default bash prompt?