Formatting the BASH command prompt

Posted by Robert S. Barnes on Stack Overflow See other posts from Stack Overflow or by Robert S. Barnes
Published on 2010-05-06T09:51:13Z Indexed on 2010/05/06 9:58 UTC
Read the original article Hit count: 449

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.

© Stack Overflow or respective owner

Related posts about linux

Related posts about bash