| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Bash prompt |
Hi! Ben,
On 05/27/2016 12:05 AM, you wrote to me:
BR> I'm using:
BR> export PS1="\[\e[32m\]\t\[\e[m\]
BR> \[\e[34m\]\u\[\e[m\]{at}\[\e[31m\]\h\[\e[m\] \[\e
BR> 36m\]\w\[\e[m\] \\$ "
That's getting messy, quoting & re-quoting. :) It was a bit gaudy
'cause I don't like colour effects as a rule. The way I tried it with a
copy+paste, with a line-feed break fix, showed an indefinable error just
after the hostname just before the '~' (it displayed a digit, 6).
In any case, thanks but no thanks.
Cheers,
Paul.
--- Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
* Origin: Paul's other Linux vBox - Maryborough, Qld, OZ (3:640/1384)SEEN-BY: 203/0 633/267 280 640/384 1384 712/848 770/1 @PATH: 640/1384 384 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.