title: Open a folder in Sublime Text 3 using command line
body: <p>I'm trying to open a directory in sublime Text 3.</p>
  
  <p>I can launch sublime from the command line using the <code>subl</code> command.</p>
  
  <p>The help text show the following:</p>
  
  <pre><code>Sublime Text build 3059
  
  Usage: subl [arguments] [files]         edit the given files
     or: subl [arguments] [directories]   open the given directories
     or: subl [arguments] -               edit stdin
  
  Arguments:
    --project &lt;project&gt;: Load the given project
    --command &lt;command&gt;: Run the given command
    -n or --new-window:  Open a new window
    -a or --add:         Add folders to the current window
    -w or --wait:        Wait for the files to be closed before returning
    -b or --background:  Don't activate the application
    -s or --stay:        Keep the application activated after closing the file
    -h or --help:        Show help (this message) and exit
    -v or --version:     Show version and exit
  
  --wait is implied if reading from stdin. Use --stay to not switch back
  to the terminal when a file is closed (only relevant if waiting for a file).
  
  Filenames may be given a :line or :line:column suffix to open at a specific
  location.
  </code></pre>
  
  <p>Thus to open a directory I should be able to use the following </p>
  
  <p><code>subl ./folder_name</code></p>
  
  <p>but that does not work for me. Sublime does open (with a empty new document) and I cannot see the folder in the side bar.</p>
  
  <p>Am I doing it wrong...</p>
  
  <p>BTW. I'm using the fish shell with the 'Oh my fish' Add-on (I have also added the sublime add- on)... </p>