Have made a link to drush through terminal being in /Applications/MAMP/drush/drush

Now need to edit .bash_profile which I did and then prompted me to exit command+ and Y to save but now it is giving
me list of other stuff- which do I choose?

File Name to Write: .bash_profile

options- get help; cancel; to files;DOS format; Mac Format; Append; Prepend; Backup File

I've edited and saved so why am I not back to my command line and out of the gnu file?

Comments

Anonymous’s picture

Following this http://dylanedwards.net/article/how-install-drush-localhost-osx-and-mamp

BUT HE DOESN'T EXPLAIN HOW TO FINISH EDITING BASH FILIE! arghh

"Save .bash_profile by pressing -x to Exit, press 'y' to confirm, and finally to get you back out and on the command line."

No it DOES NOT take you back out to command line, you are stuck in GNU

yelvington’s picture

You can use any text editor. If you find nano confusing, use something else.

vm’s picture

http://www.gentoo.org/doc/en/nano-basics-guide.xml = CTRL + O to save your changes, CTRL + X to exit

Anonymous’s picture

is that ^0 the number?

vm’s picture

no. it's the letter O as in the first letter of Octopus. a zero looks different as it's far more narrow see: 0

Anonymous’s picture

It won't accept exit - it wants me to choose options listed in GNU for writing file.

GNU nano 2.0.6 File: .bash_profile Modified

alias drush='/Applications/MAMP/drush/drush'
export PATH=$PATH:/Applications/MAMP/drush

File Name to Write: .bash_profile
^G Get Help ^T To Files M-M Mac Format M-P Prepend
^C Cancel M-D DOS Format M-A Append M-B Backup File

vm’s picture

then I'd start with ^G

http://www.nano-editor.org/docs.php may also aid.

Anonymous’s picture

it didn't help