bug-bash
[Top][All Lists]
Advanced

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

Re: Multiline prompt problems with long commands


From: Piotr Grzybowski
Subject: Re: Multiline prompt problems with long commands
Date: Tue, 4 Nov 2014 18:38:58 +0100

Hey Kamil,

 as Chet pointed out, you missed one '\[', this one works:

PS1="\n\[\033[01;32m\]\u@\h\[\033[01;34m\]
\w\[\033[01;33m\]\n\n\[\033[01;31m\]-------------> \[\e[0m\]"

 cheers,
pg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]