title: Getting home directory?
body: <p>I'm trying to get a directory off of the user's home directory in a script.  This is what I'm trying, but the <code>~</code> is interperated as a literal instead of expanding to the home directory.  Is there anyway to get it to expand?  If not, can I get the home directory another way?</p>
  
  <pre><code>$mySourceDir = "~/Projects/svn/myProject/trunk" # Single quote also does not expand
  cd $mySourceDir
  </code></pre>
  
  <p>This is using the PS 6 beta on OSX.</p>