title: Setting exports in Fish Shell
body: <p>I have multiple versions of PHP installed, and for my normal development I always use PHP 5.5.x installed via homebrew.</p>
  
  <p>In the fish shell</p>
  
  <pre><code> which php &amp; php --version
  =&gt; /usr/local/bin/php
  =&gt; PHP 5.5.8 (cli) (built: Jan 16 2014 15:58:25)
  </code></pre>
  
  <p>The path is correct.</p>
  
  <p>My problem is that when I have to develop with Drupal I use MAMP as a bundled lamp stack, and MAMP has its own php version included. My problem is that when using Drush with Drupal I cannot set the PHP executable path as I normally would in bash. I only want drush to use the bundled PHP version/executable.</p>
  
  <p>In bash I can do this:</p>
  
  <pre><code># Set Drush root to MAMP PHP
  export DRUSH_PHP=/Applications/MAMP/bin/php/php5.5.3/bin/php
  </code></pre>
  
  <p>But this wont work in fish-shell, I tried with this (no success):</p>
  
  <p>fish config location: <code>~/.config/fish/config.fish</code></p>
  
  <pre><code>set -x DRUSH_PHP=/Applications/MAMP/bin/php/php5.5.3/bin/php
  </code></pre>
  
  <p>If I run the fishshell with <code>drush status</code>i always get this:</p>
  
  <pre><code> Drupal version         :  7.26
   Site URI               :  http://default
   Database driver        :  mysql
   Database username      :  root
   Database name          :  dev-db
   Default theme          :  garland
   Administration theme   :  garland
   PHP executable         :  /usr/local/bin/php
   PHP configuration      :  /usr/local/etc/php/5.5/php.ini
   PHP OS                 :  Darwin
   Drush version          :  6.2.0
   Drush configuration    :
   Drush alias files      :
   Drupal root            :  /Applications/MAMP/htdocs/Sandbox/dev
   Site path              :  sites/default
   File directory path    :  sites/default/files
  </code></pre>
  
  <p>And when I run the same command in bourne shell I get the correct settings:</p>
  
  <pre><code>  Drupal version                  :  7.26                                        
    Site URI                        :  http://default                              
    Database driver                 :  mysql                                       
    Database username               :  root                                        
    Database name                   :  dev-db                                      
    Database                        :  Connected                                   
    Drupal bootstrap                :  Successful                                  
    Drupal user                     :  Anonymous                                   
    Default theme                   :  bartik                                      
    Administration theme            :  seven                                       
    PHP executable                  :  /Applications/MAMP/bin/php/php5.5.3/bin/php 
    PHP configuration               :  /Applications/MAMP/bin/php/php5.5.3/conf/php.ini                                       
    PHP OS                          :  Darwin                                      
    Drush version                   :  6.2.0                                       
    Drush configuration             :                                              
    Drush alias files               :                                              
    Drupal root                     :  /Applications/MAMP/htdocs/Sandbox/dev       
    Site path                       :  sites/default                               
    File directory path             :  sites/default/files                         
    Temporary file directory path   :  /Applications/MAMP/tmp/php   
  </code></pre>
  
  <p>So, how to set the export path to the DRUSH_PHP in fish?</p>