Formatting the BASH command prompt

Posted by Robert S. Barnes on Super User See other posts from Super User or by Robert S. Barnes
Published on 2010-05-06T09:51:13Z Indexed on 2010/05/11 5:34 UTC
Read the original article Hit count: 496

Filed under:
|

I would like to change the formatting on my BASH prompt from this:

[email protected]:~/some/very/annoying/long/path$

to something like this:

[email protected]:~/some/very/annoying/long/path
$

The idea is that I would be able to type a reasonably long command on one line without it wrapping to the next line so quickly.

© Super User or respective owner

Related posts about linux

Related posts about bash