-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
  • 2,976
  • 10
  • 53
  • 91

1 Answers1

2

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

EEAA
  • 108,414
  • 18
  • 172
  • 242