title: Setting $PATH variable with Fabric 1.6.0
body: <p>I'm trying to run a command that I've installed in my home directory on a remote server. It's already been added to my $PATH in .bash_profile. I'm able to use it when logged in remotely via a normal ssh session, but Fabric doesn't seem to be pulling in my $PATH. Thus, I've tried adding it to my $PATH using Fabric's <a href="http://docs.fabfile.org/en/1.6/api/core/context_managers.html#fabric.context_managers.path" rel="nofollow">path context manager</a> like so:</p>
  
  <pre><code>def test_path():
      print('My env.path setting: %(path)s' % env)
      with path('/path/to/sources/drush'):
          run('echo $PATH')
          run('drush')
  </code></pre>
  
  <p>Fabric responds with:</p>
  
  <pre><code>Executing task 'test_path'
  My env.path setting:
  run: echo $PATH
  out: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  out:
  
  run: echo $PATH
  out: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/path/to/sources/drush
  out:
  
  run: drush
  out: /bin/bash: drush: command not found
  out:
  
  Fatal error: run() received nonzero return code 127 while executing!
  
  Requested: drush
  Executed: /bin/bash -l -c "export PATH=\"\$PATH:\"/path/to/sources/drush\" \" &amp;&amp; drush"
  
  Aborting.
  </code></pre>
  
  <p>Thanks for looking...</p>