Change the default editor for files opened in the terminal? (e.g. set it to TextEdit/Coda/Textmate)

Most programs will check the $EDITOR environment variable, so you can set that to the path of TextEdit in your bashrc. Git will use this as well. How to do this: Add the following to your ~/.bashrc file: export EDITOR=”/Applications/TextEdit.app/Contents/MacOS/TextEdit” or just type the following command into your Terminal: echo “export EDITOR=\”/Applications/TextEdit.app/Contents/MacOS/TextEdit\”” >> ~/.bashrc If … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)