On Wed, Oct 19, 2005 at 10:15:45PM -0500, Bruce Dubbs wrote:
>
> It is meant to be an *example*, not blindly used. If you have a
> specific suggestion on how to change the wording or the example, let's
> discuss it more.
As an example, it should probably be commented out (just like the extra
example PS1's that for some reason exist in *both* /etc/profile and
/etc/bashrc).
Anyway, as I already posted, the following does as expected. Note that
not only does it provide a useful example (who wants a bell dinging all
the time? ;) ), it's real value is in the conditional since the
extra-prompt.sh, in context, is for xterms and not consoles.
if [ "${TERM:0:5}" = "xterm" ]; then
export PROMPT_COMMAND='echo -ne "\033]0;[EMAIL PROTECTED] : ${PWD}\007"'
fi
--
Archaic
Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page