title: Change gnome-terminal title to reflect the current directory?
body: <p>I want to change the title of the gnome-terminal window to reflect the current directory.
  Is there a way to do that? A script may be?
  The "change terminal title" threads did not help much.
  Manually when we use the command:</p>
  
  <pre><code>gnome-terminal --title=$PWD 
  </code></pre>
  
  <p>it works, but a new terminal instance is created (as expected).
  I want to be able to use the </p>
  
  <pre><code>--title=$PWD 
  </code></pre>
  
  <p>with the cd command.</p>
  
  <p>Is there a way to achieve that?</p>