-2

When I run this command

gcloud compute url-maps edit URL

it brings up nano as the default editor on my macos macbookpro

enter image description here

How can I change this behaviors?

I checked the documentation of gcloud config command but it does not have anything related to editor.

Anthony Kong
  • 3,288
  • 11
  • 57
  • 96

1 Answers1

2

Set your EDITOR environment variable to whatever you'd like.

EEAA
  • 109,363
  • 18
  • 175
  • 245