Index

Subject : Re: LUG: [SOLVED] Help me spot the problem with PS1 definition

From : Alex <akdom2001@gmail.[redacted]>

Date : Wed, 21 Apr 2010 16:13:51 -0400

Parent


Daniel... for reference... my PS1 line in .bashrc looks like this:

export PS1="\n\[\e[1;32m\]\H \[\e[37m\]| \[\e[31m\]\w \[\e[37m\]| \[\e[1;35m\]\t \[\e[4;35m\]\d\n\[\e[0;32m\]\u\[\e[1;37m\] ( \[\e[1;36m\]\! : \#\[\e[1;37m\] ) \$ \[\e[0;39m\]"

~Alex

On Wed, Apr 21, 2010 at 12:35 PM, Daniel Underwood < daniel.underwood@ncsu.[redacted] > wrote:
Expect that, apparently, the left bracket in the following text needs no
corresponding right bracket:

\e[0;31m

When I've tried to close that bracket, strange things happen.
--
Daniel Underwood
North Carolina State University
Graduate Student - Operations Research
email: daniel.underwood@ncsu.[redacted]
phone: XXX.302.3291
web: http://www4.ncsu.edu/~djunderw/



Replies :