title: Navigating to directory in ZSH (bash)
body: <p>I'm using <a href="https://github.com/robbyrussell/oh-my-zsh" rel="nofollow">Oh-My-ZSH</a> to create some ailises and functions for easing my repetitive work load. </p>
  
  <p>I need to navigate from anywhere in my computer to my Frontend directory. This is what I have:</p>
  
  <pre><code>frontend(){
    cd ~/Desktop/Work/Frontend
    cd $1
  }
  </code></pre>
  
  <p>Now this works well when I type <code>frontend</code> or <code>frontend myProject</code>, however, all my project folders are postfixed by something like <code>.m</code>, <code>.tablet</code>, etc. </p>
  
  <p>How can I write things that:</p>
  
  <ul>
  <li><p>Will let me automatically navigate to a folder that is followed by <code>.something</code></p></li>
  <li><p>When there are multiple options (like <code>project.m</code> and <code>project.tablet</code>) will prompt me with options similar to if you hit tab in your terminal and are given multiple options for autocomplete. </p></li>
  </ul>
  
  <p>I hope my question makes sense.</p>
  
  <p>Thanks.</p>