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

Re: PS1: Lost in quotes!!!



andrej hocevar wrote:

> I'm losing my temper here -- why did the first prompt work normally
> and the second looks fine, yet if I try to type more than one line,
> it doesn't start a new one but starts overwriting the very same one
> instead!?

Weird. It seems as though bash doesn't like having escape codes in the
second line of the prompt. The second prompt works fine if you take
out the references to $BLUE and $NC. I don't know why it's doing this.

Craig

Attachment: pgpVMJt6k6jnV.pgp
Description: PGP signature


Reply to: