title: How do I set up a link to open up Visual Studio Code from terminal on OSX?
body: <p>I've recently installed <a href="https://code.visualstudio.com/" rel="noreferrer">Visual Studio Code</a> and I love it!  In the past, I've used sublime text 2/3 and at some point I copied code to allow <code>subl .</code> command to open the current directory with sublime.  </p>
  
  <p><strong>Question:</strong> </p>
  
  <ul>
  <li>How can I write a similar code to allow visual studio code to open up the current directory like I've done in the past with sublime.</li>
  <li>Where should I put paste this code?</li>
  </ul>
  
  <p>Desired alias/link/command would be <code>code .</code></p>
  
  <p><a href="https://youtu.be/HmWm21cCAXM?t=208" rel="noreferrer">Does the command on this video</a></p>