handles if EDITOR env not set