Archaic wrote:
> On Wed, Oct 19, 2005 at 12:35:02PM -0700, Dan Nicholson wrote:
>
>>On 10/19/05, Archaic <[EMAIL PROTECTED]> wrote:
>>
>>>if [ "${TERM:0:5}" = "xterm" ]; then
>>> export PROMPT_COMMAND='echo -ne "\033]0;[EMAIL PROTECTED] : ${PWD}\007"'
>>>fi
>>>
>>>I've been using this for a long time and it works as expected.
>>
>>Looks nice. As a BLFS editor, could you suggest this change since if
>>you follow the book as is you'll just get a messed up prompt?
>
>
> I thought it used to be in the book. Having long ago varied from the
> book's startup files, I cannot say if this will have an impact on other
> startup files in the book. If no one finds fault with the above after a
> day or so, then yes, I can put it in there.
The PROMPT_COMMAND is in the book. Look under "The Bash Shell Startup
Files" in Chapter 3. If you want to expand the description, feel free.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page