David Haller wrote:
Hello,
On Sun, 29 Mar 2009, David C. Rankin wrote: [..]
export PS1="\[\e[0;37m\]\A\[\e[1;34m\] \[\e[1;34m\]\h:\w> \[\e[0m\]"
(**Note: you will rarely find the /A prompt option documented for whatever reason. It is just the time for the record)
man bash (2.03) documents \t, \T and \@, man bash (3.2) documents \A and \D{format} as well, both in Section "PROMPTING".
And there's also the Bash-Prompt-HOWTO and man console_codes.
-dnh
Yep David, I got the reference to the \A from man bash (1891 lines down) Few dare to go there, it's just not safe;-) -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org