Red Hat Bugzilla – Bug 1470997
oc edit should fall back to EDITOR if OC_EDITOR is not specified
Last modified: 2017-08-28 06:22:56 EDT
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 
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 
> 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!