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

Re: Where is Bash Prompt Set??



On 11/02/10, Jon Dowland (jmtd@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;31m\u@\w# \]'
# sid: green
export PS1='\[\033[0;32m\u@\w$ \]'
# magenta
#export PS1='\[\033[0;35m\u@\w$ \]'
# yellow
#export PS1='\[\033[0;33m\u@\w$ \]'
# blue
#export PS1='\[\033[0;34m\u@\w$ \]'
# cyan
#export PS1='\[\033[0;36m\u@\w$ \]'

-- 
JohnRChamplin@columbus.rr.com
====================================================
GPG key 1024D/99421A63 2005-01-05
EE51 79E9 F244 D734 A012 1CEC 7813 9FE9 9942 1A63
gpg --keyserver subkeys.pgp.net --recv-keys 99421A63

Attachment: signature.asc
Description: Digital signature


Reply to: