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

Re: Colorized Prompts Problem - Thanks for the Deconstruction (correction)

Quoting David Wright (deblis@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'"


Reply to: