Export `ed` as $EDITOR.