Moved the setTermTitle function call out of the prompt line and into the precmd hook. This shortens the non-visible length of the prompt line and also makes the functionality clearer
This commit is a sin. But necessary