title: Vagrant add to PATH
body: <p>I've just installed <a href="https://www.vagrantup.com/" rel="nofollow noreferrer">vagrant</a> now I would like to make for example <code>vagrant up</code> global. In the <a href="https://laravel.com/docs/5.4/homestead#connecting-via-ssh" rel="nofollow noreferrer">docs</a> I read this:</p>
  
  <p>Sometimes you may want to vagrant up your Homestead machine from anywhere on your filesystem. You can do this on Mac / Linux systems by adding a Bash function to your Bash profile. On Windows, you may accomplish this by adding a "batch" file to your PATH. These scripts will allow you to run any Vagrant command from anywhere on your system and will automatically point that command to your Homestead installation:</p>
  
  <p><strong>Mac / Linux</strong></p>
  
  <pre><code>function homestead() {
      ( cd ~/Homestead &amp;&amp; vagrant $* )
  }
  </code></pre>
  
  <p>But when I add the code above to my <code>~/.bash_profile</code>:</p>
  
  <p><a href="https://laravel.com/docs/5.4/homestead#connecting-via-ssh" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sbmvO.png" alt="enter image description here"></a></p>
  
  <p>And restart the terminal <code>vagrant up</code> is not working globally. I have no experience with the <code>~/.bash_profile</code> file. </p>
  
  <p>I would appreciate it if someone could put me in the right direction</p>