Bruce Dubbs wrote:

> No, it *supplements* PS1.  As the book says:
> "The normal variable, PS1, is supplemented by PROMPT_COMMAND. If set,
> the value of PROMPT_COMMAND is executed as a command prior to issuing
> each primary prompt."
> 
> It is meant as an example.  We expect users to use it or not use it as
> desired, but in any case, play around with it.
> 

Agreed.

Something else I noticed:

If you hit ctrl+l to clear the screen PROMPT_COMMAND isn't shown.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to