On 3/8/07, Peter <[EMAIL PROTECTED]> wrote:

You can overload PS1 with any code you want. It will run every time a
PS1 prompt is displayed.


Good tip, thank you.
The answer of curse is PROMPT_COMMAND.
http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x264.html

Peter




--
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to