Difficulties install Drush using composer I have tried to install Drush on OSX 10.9 but it doesn’t seem to have worked. In terminal ‘drush status’ gives 


  -bash: drush: command not found


I have followed the instructions on http://whaaat.com/installing-drush-7-using-composer 

Composer’s directory seems to be correct as my .bash_profile contains:

export PATH="$Trotter/.composer/vendor/bin:$PATH" 


Drush exists in the vendor folder of composer



When I tried to install Drush via composer the feedback seemed to suggest it had worked: 

Pauls-iMac:~ Trotter$ composer self-update
Updating to version 8e9659bd8317ad3f623c4d17940380443cf8772c.
    Downloading: 100%         
Use composer self-update --rollback to return to version 1.0.0-alpha9
Pauls-iMac:~ Trotter$ composer global require drush/drush:7.*
Changed current directory to /Users/Trotter/.composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing pear/console_table (1.2.1)
    Loading from cache

  - Installing symfony/var-dumper (v2.7.1)
    Downloading: 100%         

  - Installing symfony/yaml (v2.7.1)
    Downloading: 100%         

  - Installing d11wtq/boris (v1.0.8)
    Loading from cache

  - Removing drush/drush (6.5.0)
  - Installing drush/drush (7.0.0)
    Downloading: 100%         

pear/console_table suggests installing pear/Console_Color2 (&gt;=0.1.2)
symfony/var-dumper suggests installing ext-symfony_debug ()
d11wtq/boris suggests installing ext-pcntl (*)
Writing lock file
Generating autoload files
Pauls-iMac:~ Trotter$ drush status
-bash: drush: command not found


(Note I had previously tried to install Drush 6 but hadn't got this to work either)

I would appreciate any advice on what is going wrong here.
Changing the .bash_profile to the following worked:

export PATH="~/.composer/vendor/bin:$PATH" 


Now drush status gives good feedback on the Drush version etc. Thanks to Clive for suggesting this.