On Thursday 11 February 2010 11:16:15 John wrote: > On 11/02/10, Jon Dowland (j...@debian.org) wrote: > | I've never met a bash that displays anything other than '#' > | for '\$' in PS1. Can you give an example of one that does? > > From .bashrc: > > # root; red > #export PS1='\[\033[0;31...@\w# \]' > # sid: green > export PS1='\[\033[0;32...@\w$ \]' > # magenta > #export PS1='\[\033[0;35...@\w$ \]' > # yellow > #export PS1='\[\033[0;33...@\w$ \]' > # blue > #export PS1='\[\033[0;34...@\w$ \]' > # cyan > #export PS1='\[\033[0;36...@\w$ \]'
None of those are examples of what Jon D. requested. Your example would have to use '\$' (not just '$') in PS1. -- Boyd Stephen Smith Jr. ,= ,-_-. =. b...@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/
signature.asc
Description: This is a digitally signed message part.