dimanche 4 janvier 2015

Shell not finding commands after I changed my .bash_profile file


I was following a tutorial trying to install Laravel (5.0). The tutorial showed to add export PATH="~/.composer/vendor/bin/laravel" to the .bash_profile document. Since then, I am not able to execute any command (nano, ssh, etc).


Nothing happens when I executed this in terminal:



export PATH="~/.composer/vendor/bin/laravel"


My .bash_profile looks like this:



export PATH=/Applications/MAMP/bin/php/php5.5.10/bin:$PATH


I tried logging out, restarting and entering the following commands:



source ~/.bash_profile
. .bash_profile


Can anyone help?





Aucun commentaire:

Enregistrer un commentaire