Set custom terminal title using precmd.