Thursday, March 31, 2011

Wimpy OSX! Nano for everything!

So one of the things I never asked was how to use nano as the default editor on OSX. I'd always run piecemeal commands like this

git config --global core.editor "nano"

but it makes a lot more sense, in most cases, to use

export EDITOR=nano

unless you want to use vi for some things and nano for others.

No comments: