title: Calling another function in fish shell
body: <p>I received <a href="https://stackoverflow.com/questions/41691787/how-do-i-convert-this-zsh-function-to-fish-shell">this</a> excellent answer on how to convert a zsh function to a fish function. Now I have another question. How do I call that function from another function, passing on the argument?</p>
  
  <p>I have tried this:</p>
  
  <pre><code>function ogf
    echo "Cloning, your editor will open when clone has completed..."
    source (env TARGET_DIRECTORY=~/students EDITOR=$EDITOR clone_git_file -ts $argv[1] | psub)
  end
  
  function wogf
    env EDITOR=webstorm ogf "$argv[1]"
  end
  </code></pre>
  
  <p>but I get "env: ogf: No such file or directory".</p>
  
  <p>The goal is only to change the <code>EDITOR</code> environment variable for this one execution, and then call <code>ogf</code>.</p>