Talk:Bash/Prompt customization

The return value visualization stuff didn't quite work right for me.
The command history prints out funny (bits of old command prefixes
stay displayed), and also long lines behaved oddly (wrapped back to
start etc.).

I think the trouble maybe coming from echo'ing out color commands
with one echo then putting out the characters to reset the font
elsewhere. I asked on the bash list and ended up doing this:

This is only an example, it is possible to add anything that PS1 accepts using this method.

Examples

This article cries out for examples. It is tough to tell if one would want to try any of these until one sees an example of what the outcome might be, should it be tried. I'll bet a lot of people are a little hesitant to try them. - KitchM 13:40, 12 April 2010 (EDT)

I went ahead and added previews of some of the simpler prompts. As an Archer, you're encouraged to try random stuff just to see what happens. Don't be hesitant, just have fun! --DJPohly 02:11, 13 April 2010 (EDT)

Very nice, indeed! Thank you very much. This will help immensely.

This is one Archer that has learned that there is no difference between Arch and any other distro or OS when it comes to the ability to screw things up. I am very hesitant. There are so many problems, that I am surprised that people are not having more problems with their systems. On the other hand, I must assume that people don't use theirs as extensively as do I. In any case, the examples will clearly show a person what happens before they start changing things. I will dive right in. I love "zero defects" methods.