Posted by no_longer_active_19 on November 25, 2012 at 12:04am
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
Stuck
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
Use any text editor
You can use any text editor. If you find nano confusing, use something else.
=-=
http://www.gentoo.org/doc/en/nano-basics-guide.xml = CTRL + O to save your changes, CTRL + X to exit
^0
is that ^0 the number?
=-=
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
ok but still can't exit
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
=-=
then I'd start with ^G
http://www.nano-editor.org/docs.php may also aid.
been there done that
it didn't help