Set $EDITOR environment variable.