Quoting David Wright ([email protected]):
> export PROMPT_COMMAND+=" || echo -ne '\e]0;${HOSTNAME^^}
> $(tty) ${HOSTNAME^^}\a'"
Forgive the typo; that || was in the penultimate version that I
accidentally included. It should of course be ; otherwise the
title only appears after a non-zero return code. Thus:
export PROMPT_COMMAND+=" ; echo -ne '\e]0;${HOSTNAME^^} $(tty)
${HOSTNAME^^}\a'"
Cheers,
David.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/20150516032847.GA12819@alum