[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MiNT bug



Martin-Eric Racine <q-funk@megacom.net> writes:

|> TCSH has a simple '%B bold text here %b' method of outlining 
|> bold text in the commandline, which is listed among available
|> variables for 'prompt' but there's no equivalent under BASH.

PS1="\[$(tput bold)\] bold text here \[$(tput sgr0)\]"

You can put any fancy termcap string you want into the prompt, you are not
limited to those provided by tcsh.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org