title: How to change the terminal title
body: <p>I'm currently using Hyper terminal on a mac, but this question also applies to other types of terminals, e.g. iTerm</p>
  <p>How do you change the terminal title from <code>username@devicename:~</code> into just <code>~</code> or <code>zsh</code>.</p>
  <p>Currently my shell is zsh with oh-my-zsh installed.  I'm not looking for workarounds through powerline or themes.</p>
  <p><strong>One more question:</strong>
  How do you reset back after running <code>echo -n -e &quot;\033]0;SERVER\007&quot;</code>?</p>