Abder-Rahman Ali wrote: > I used this command to specify the text editor: $ git config --global > core.editor "mate -w" > > How can I remove this configuration as I'm getting this error: error: > cannot run mate -w: No such file or directory > > Or, how can I fix this error instead?
I use the mate command for the editor for lots of things. However, I did not tell Git to use it specifically in it's configuration. Instead I set the EDITOR environment variable in ~/.profile like so: export EDITOR='mate --wait' Git will respect the EDITOR variable. To remove the configuration from Git you can remove that configuration from your ~/.gitconfig file. But, before doing any of the above make sure the mate command line tool is enabled. You can do that from TextMate Help ->> Terminal Usage... ->> Create Link -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.