Quoting David Wright (deb...@lionunicorn.co.uk): > 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 debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150516032847.GA12819@alum