set $EDITOR environment variable