Package: bash
Version: 4.1-3
Severity: wishlist
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?
-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash depends on:
ii base-files 6.0squeeze2 Debian base system miscellaneous f
ii dash 0.5.5.1-7.4 POSIX-compliant shell
ii debianutils 3.4 Miscellaneous utilities specific t
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libncurses5 5.7+20100313-5 shared libraries for terminal hand
Versions of packages bash recommends:
ii bash-completion 1:1.2-3 programmable completion for the ba
Versions of packages bash suggests:
pn bash-doc <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]