21 Sep
2006
21 Sep
'06
6:41 p.m.
On Sep 21, 2006, at 10:48, Mark Duling wrote:
"Daniel J. Luke" <dluke@geeklair.net> writes:
EDITOR is an environment variable that port uses to decide which text editor to invoke when you type 'port edit foo'
With bash, you'd want to do something like 'export EDITOR=nano' (or vi or emacs or whatever)
We could probably have it default to nano if no editor is specified, though.
Oooh. That would be nice for people who are new to Unix, and also for us who assist them. Could that be put on the TODO list, wherever it is?
Seeing as Wolfgang Keller was whining about not being Mac-like, why not go all the way? TextMate and BBEdit have command line tools ('mate' and 'bbedit') that launch the GUI editor. Only half jokingly, -landonf