Description of problem: EDITOR is widely used to specify an alternative editor to be used with various commands, it would be nice if oc edit could fall back to EDITOR in case OC_EDITOR has not been specified.
Right now, it is the case that we fall back to the EDITOR environment variable if OC_EDITOR is not set [1] 1. https://github.com/openshift/origin/blob/master/pkg/cmd/util/clientcmd/factory_client_access.go#L385 Closing this as NOTABUG, but feel free to re-open if I have missed something about this.
(In reply to Juan Vallejo from comment #1) > Right now, it is the case that we fall back to the EDITOR environment > variable if OC_EDITOR is not set [1] > > 1. > https://github.com/openshift/origin/blob/master/pkg/cmd/util/clientcmd/ > factory_client_access.go#L385 > > Closing this as NOTABUG, but feel free to re-open if I have missed something > about this. Correct, I think it was me who missed something while testing, this looks exactly what I hoped for. Thanks!