[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash escape character troubles

From: donothing successfully
Subject: Re: Bash escape character troubles
Date: Sun, 15 Jul 2007 23:32:52 +0100

Hi Jean/Troy

Why do both use PROMPT_COMMAND to output your prompts?
I thought it was more conventional to set PS1, there are
escape characters to expand to hostname, date, etc etc.
I think this might be more efficient, and make things more
simple for you.

Here's my PS1 for an example:
harry2~/Mail>echo "$PS1"

You can embed commands too.

Have you read this?
I recall finding that very useful in constructing my prompt.

Also I set hardstatus in .screenrc to set the window title.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]