fix .bash_prompt
fix .bash_prompt

* tty: Title escape sequence is only used on pts. tty do not support them, leading to a garbled prompt.
* same functionality without using PROMPT_COMMAND. Now it's available for other purpose.

TuxCoder/dotfiles,DrVanScott/dotfiles,voku/dotfiles,voku/dotfiles,voku/dotfiles,DrVanScott/dotfiles,TuxCoder/dotfiles,DrVanScott/dotfiles,DrVanScott/dotfiles,TuxCoder/dotfiles,TuxCoder/dotfiles,voku/dotfiles