[Techtalk] coloured prompts

Hugo Chasqueira hchasqueira at netcabo.pt
Thu May 6 23:02:58 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 06 May 2004 19:02, Emma Jane Hogbin wrote:
> I've just added the following to my .bash_profile, but now I don't get
> proper line wrap if I need to write a command that's more than one line
> long. Instead of wrapping onto the next line, it starts again at the
> beginning of the line it's already on. I'm using Eterm but only because I
> like the scroll bars and the fact that I can make it semi-transparent. I'm
> open to other terms that offer these same features..
>
>  export PS1="\[\033[0;33m\]\h:\w \t $ \[\033[0m\]\a"

Hi Emma

Do you really want the bell (\a) to be in your prompt?

Because it works as it should without it, at least in Konsole.

The Bash Prompt Howto in tldp.org has everything you need to know about it:
http://tldp.org/HOWTO/Bash-Prompt-HOWTO/index.html


- --

Hugo Chasqueira

Public Key:
http://search.keyserver.net:11371/pks/lookup?op=get&search=0x8BD14B82

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAmrYSjFeRi4vRS4IRAv+2AJ4mjyOyvJgW+hKyazf57BX1aUU3qACfQSOL
UOzHjwDlm42eiDfPSiLESfs=
=pCni
-----END PGP SIGNATURE-----


More information about the Techtalk mailing list