function and alias for setting terminal titles